public class AntFileSetSourceAnalyzer extends AbstractSourceAnalyzer
SourceAnalyzer implementation that gets source files from one or more Ant FileSets.
Modifiers | Name | Description |
---|---|---|
protected java.util.List<org.apache.tools.ant.types.FileSet> |
fileSets |
Fields inherited from class | Fields |
---|---|
class AbstractSourceAnalyzer |
ruleProcessingTimes |
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. |
Type Params | Return Type | Name and description |
---|---|---|
|
public Results |
analyze(RuleSet ruleSet) Analyze all source code using the specified RuleSet and return the report results. |
|
public int |
compare(FileResults o1, FileResults o2) |
|
public java.util.List |
getSourceDirectories() |
|
public void |
run() |
Methods inherited from class | Name |
---|---|
class AbstractSourceAnalyzer |
collectViolations, measureRuleProcessingTime, printRuleProcessingTimes |
Construct a new instance on the specified Ant FileSet.
project
- - the Ant Project; must not be nullfileSet
- - the Ant FileSet; must not be nullAnalyze all source code using the specified RuleSet and return the report results.
ruleSet
- - the RuleSet to apply to each source component; must not be null.