Package org.gmetrics.resultsnode
Class ClassResultsNode
- java.lang.Object
-
- org.gmetrics.resultsnode.ClassResultsNode
-
- All Implemented Interfaces:
groovy.lang.GroovyObject,ResultsNode
public class ClassResultsNode extends Object implements ResultsNode, groovy.lang.GroovyObject
-
-
Constructor Summary
Constructors Constructor Description ClassResultsNode(String name)ClassResultsNode(String name, String fileName, String filePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddClassMetricResult(ClassMetricResult classMetricResult)booleancontainsClassResults()Map<String,ResultsNode>getChildren()StringgetFileName()StringgetFilePath()MetricLevelgetLevel()groovy.lang.MetaClassgetMetaClass()MetricResultgetMetricResult(Metric metric)List<MetricResult>getMetricResults()StringgetName()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
-
getFileName
public final String getFileName()
-
getFilePath
public final String getFilePath()
-
getLevel
public final MetricLevel getLevel()
- Specified by:
getLevelin interfaceResultsNode
-
getChildren
public final Map<String,ResultsNode> getChildren()
- Specified by:
getChildrenin interfaceResultsNode
-
getMetricResults
public final List<MetricResult> getMetricResults()
- Specified by:
getMetricResultsin interfaceResultsNode
-
containsClassResults
public boolean containsClassResults()
- Specified by:
containsClassResultsin interfaceResultsNode
-
getMetricResult
public MetricResult getMetricResult(Metric metric)
- Specified by:
getMetricResultin interfaceResultsNode
-
addClassMetricResult
public void addClassMetricResult(ClassMetricResult classMetricResult)
-
-