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