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