Package org.gmetrics.resultsnode
Class PackageResultsNode
- java.lang.Object
-
- org.gmetrics.resultsnode.PackageResultsNode
-
- All Implemented Interfaces:
groovy.lang.GroovyObject,ResultsNode
public class PackageResultsNode extends Object implements ResultsNode, groovy.lang.GroovyObject
-
-
Constructor Summary
Constructors Constructor Description PackageResultsNode(String name, String packageName, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChild(String name, ResultsNode child)voidaddChildIfNotEmpty(String name, ResultsNode child)voidapplyMetric(Metric metric)booleancontainsClassResults()Map<String,ResultsNode>getChildren()MetricLevelgetLevel()groovy.lang.MetaClassgetMetaClass()MetricResultgetMetricResult(Metric metric)List<MetricResult>getMetricResults()StringgetName()StringgetPackageName()StringgetPath()ObjectgetProperty(String property)ObjectinvokeMethod(String method, Object arguments)voidsetMetaClass(groovy.lang.MetaClass mc)voidsetProperty(String property, Object value)StringtoString()
-
-
-
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
-
getName
public final String getName()
- Specified by:
getNamein interfaceResultsNode
-
getPackageName
public final String getPackageName()
-
getPath
public final String getPath()
-
getLevel
public final MetricLevel getLevel()
- Specified by:
getLevelin interfaceResultsNode
-
getMetricResults
public final List<MetricResult> getMetricResults()
- Specified by:
getMetricResultsin interfaceResultsNode
-
getChildren
public Map<String,ResultsNode> getChildren()
- Specified by:
getChildrenin interfaceResultsNode
-
containsClassResults
public boolean containsClassResults()
- Specified by:
containsClassResultsin interfaceResultsNode
-
getMetricResult
public MetricResult getMetricResult(Metric metric)
- Specified by:
getMetricResultin interfaceResultsNode
-
addChildIfNotEmpty
public void addChildIfNotEmpty(String name, ResultsNode child)
-
addChild
public void addChild(String name, ResultsNode child)
-
applyMetric
public void applyMetric(Metric metric)
-
-