public class AntFileSetSourceAnalyzer
extends org.codenarc.analyzer.AbstractSourceAnalyzer
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<org.apache.tools.ant.types.FileSet> |
fileSets |
| Constructor and Description |
|---|
AntFileSetSourceAnalyzer(org.apache.tools.ant.Project project,
org.apache.tools.ant.types.FileSet fileSet)
Construct a new instance on the specified Ant FileSet.
|
| Modifier and Type | Method and Description |
|---|---|
org.codenarc.results.Results |
analyze(org.codenarc.ruleset.RuleSet ruleSet)
Analyze all source code using the specified RuleSet and return the report results.
|
java.util.List |
getSourceDirectories() |
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 nullpublic org.codenarc.results.Results analyze(org.codenarc.ruleset.RuleSet ruleSet)
ruleSet - - the RuleSet to apply to each source component; must not be null.public java.util.List getSourceDirectories()