|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.gmetrics.ant.AntFileSetSourceAnalyzer
class AntFileSetSourceAnalyzer
SourceAnalyzer implementation that gets source files from one or more Ant FileSets. This class is not reentrant.
| Field Summary | |
|---|---|
protected List |
fileSets
|
protected ResultsNode |
rootResultsNode
|
| Constructor Summary | |
AntFileSetSourceAnalyzer(org.apache.tools.ant.Project project, List fileSets)
Construct a new instance on the specified List of Ant FileSets. |
|
| Method Summary | |
|---|---|
ResultsNode
|
analyze(MetricSet metricSet)
Analyze all source code using the specified MetricSet and return the results node. |
protected ResultsNode
|
findOrAddResultsNodeForPath(String path)
|
protected ResultsNode
|
findResultsNodeForPath(String path)
|
List
|
getSourceDirectories()
|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Field Detail |
|---|
protected List fileSets
protected ResultsNode rootResultsNode
| Constructor Detail |
|---|
AntFileSetSourceAnalyzer(org.apache.tools.ant.Project project, List fileSets)
project - - the Ant ProjectfileSets - - the List of Ant FileSet; my be empty; must not be null
| Method Detail |
|---|
ResultsNode analyze(MetricSet metricSet)
metricSet - - the MetricSet to apply to each source component; must not be null.
protected ResultsNode findOrAddResultsNodeForPath(String path)
protected ResultsNode findResultsNodeForPath(String path)
List getSourceDirectories()
Groovy Documentation