Package org.gmetrics.ant
Class AntFileSetSourceAnalyzer
- java.lang.Object
-
- org.gmetrics.ant.AntFileSetSourceAnalyzer
-
- All Implemented Interfaces:
groovy.lang.GroovyObject,SourceAnalyzer
public class AntFileSetSourceAnalyzer extends Object implements SourceAnalyzer, groovy.lang.GroovyObject
-
-
Field Summary
Fields Modifier and Type Field Description protected ListfileSetsprotected ResultsNoderootResultsNode
-
Constructor Summary
Constructors Constructor Description AntFileSetSourceAnalyzer(org.apache.tools.ant.Project project, List fileSets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResultsNodeanalyze(MetricSet metricSet)protected ResultsNodefindOrAddResultsNodeForPath(String path, String packageName)protected ResultsNodefindResultsNodeForPath(String path)groovy.lang.MetaClassgetMetaClass()ObjectgetProperty(String property)ListgetSourceDirectories()ObjectinvokeMethod(String method, Object arguments)voidsetMetaClass(groovy.lang.MetaClass mc)voidsetProperty(String property, Object value)
-
-
-
Field Detail
-
fileSets
protected List fileSets
-
rootResultsNode
protected ResultsNode rootResultsNode
-
-
Constructor Detail
-
AntFileSetSourceAnalyzer
public AntFileSetSourceAnalyzer(org.apache.tools.ant.Project project, List fileSets)
-
-
Method Detail
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject
-
invokeMethod
public Object invokeMethod(String method, Object arguments)
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject
-
getProperty
public Object getProperty(String property)
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject
-
setProperty
public void setProperty(String property, Object value)
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject
-
analyze
public ResultsNode analyze(MetricSet metricSet)
- Specified by:
analyzein interfaceSourceAnalyzer
-
getSourceDirectories
public List getSourceDirectories()
- Specified by:
getSourceDirectoriesin interfaceSourceAnalyzer
-
findResultsNodeForPath
protected ResultsNode findResultsNodeForPath(String path)
-
findOrAddResultsNodeForPath
protected ResultsNode findOrAddResultsNodeForPath(String path, String packageName)
-
-