|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.codenarc.analyzer.BaseSourceAnalyzer
java.org.codenarc.ant.AntFileSetSourceAnalyzer
public class AntFileSetSourceAnalyzer extends BaseSourceAnalyzer
SourceAnalyzer implementation that gets source files from one or more Ant FileSets.
| Field Summary | |
|---|---|
protected List |
fileSets
|
| Constructor Summary | |
AntFileSetSourceAnalyzer(org.apache.tools.ant.Project project, org.apache.tools.ant.types.FileSet fileSet)
Construct a new instance on the specified Ant FileSet. |
|
| Method Summary | |
|---|---|
Results
|
analyze(RuleSet ruleSet)
Analyze all source code using the specified RuleSet and return the report results. |
List
|
getSourceDirectories()
|
| Field Detail |
|---|
protected final List fileSets
| Constructor Detail |
|---|
public AntFileSetSourceAnalyzer(org.apache.tools.ant.Project project, org.apache.tools.ant.types.FileSet fileSet)
project - - the Ant Project; must not be nullfileSet - - the Ant FileSet; must not be null
| Method Detail |
|---|
public Results analyze(RuleSet ruleSet)
ruleSet - - the RuleSet to apply to each source component; must not be null.
public List getSourceDirectories()
Groovy Documentation