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 void
addClassMetricResult(ClassMetricResult classMetricResult)
boolean
containsClassResults()
java.util.Map<java.lang.String,ResultsNode>
getChildren()
java.lang.String
getFileName()
java.lang.String
getFilePath()
MetricLevel
getLevel()
groovy.lang.MetaClass
getMetaClass()
MetricResult
getMetricResult(Metric metric)
java.util.List<MetricResult>
getMetricResults()
java.lang.String
getName()
java.lang.Object
getProperty(java.lang.String property)
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)
java.lang.String
toString()
-
-
-
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
-
getName
public final java.lang.String getName()
- Specified by:
getName
in interfaceResultsNode
-
getFileName
public final java.lang.String getFileName()
-
getFilePath
public final java.lang.String getFilePath()
-
getLevel
public final MetricLevel getLevel()
- Specified by:
getLevel
in interfaceResultsNode
-
getChildren
public final java.util.Map<java.lang.String,ResultsNode> getChildren()
- Specified by:
getChildren
in interfaceResultsNode
-
getMetricResults
public final java.util.List<MetricResult> getMetricResults()
- Specified by:
getMetricResults
in interfaceResultsNode
-
containsClassResults
public boolean containsClassResults()
- Specified by:
containsClassResults
in interfaceResultsNode
-
getMetricResult
public MetricResult getMetricResult(Metric metric)
- Specified by:
getMetricResult
in interfaceResultsNode
-
addClassMetricResult
public void addClassMetricResult(ClassMetricResult classMetricResult)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-