public class AntFileSetSourceAnalyzer extends AbstractSourceAnalyzer
Modifier and Type | Field and Description |
---|---|
protected 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 |
---|---|
Results |
analyze(RuleSet ruleSet)
Analyze all source code using the specified RuleSet and return the report results.
|
List |
getSourceDirectories() |
collectViolations, getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty
protected final List<org.apache.tools.ant.types.FileSet> fileSets
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 Results analyze(RuleSet ruleSet)
ruleSet
- - the RuleSet to apply to each source component; must not be null.public List getSourceDirectories()
Copyright © 2022. All rights reserved.