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.List
fileSets
protected ResultsNode
rootResultsNode
-
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 ResultsNode
analyze(MetricSet metricSet)
protected ResultsNode
findOrAddResultsNodeForPath(java.lang.String path, java.lang.String packageName)
protected ResultsNode
findResultsNodeForPath(java.lang.String path)
groovy.lang.MetaClass
getMetaClass()
java.lang.Object
getProperty(java.lang.String property)
java.util.List
getSourceDirectories()
java.lang.Object
invokeMethod(java.lang.String method, java.lang.Object arguments)
void
setMetaClass(groovy.lang.MetaClass mc)
void
setProperty(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:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
public java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments)
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
public java.lang.Object getProperty(java.lang.String property)
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
public void setProperty(java.lang.String property, java.lang.Object value)
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
analyze
public ResultsNode analyze(MetricSet metricSet)
- Specified by:
analyze
in interfaceSourceAnalyzer
-
getSourceDirectories
public java.util.List getSourceDirectories()
- Specified by:
getSourceDirectories
in interfaceSourceAnalyzer
-
findResultsNodeForPath
protected ResultsNode findResultsNodeForPath(java.lang.String path)
-
findOrAddResultsNodeForPath
protected ResultsNode findOrAddResultsNodeForPath(java.lang.String path, java.lang.String packageName)
-
-