Package org.gmetrics.resultsnode
Class MethodResultsNode
- java.lang.Object
-
- org.gmetrics.resultsnode.MethodResultsNode
-
- All Implemented Interfaces:
groovy.lang.GroovyObject,ResultsNode
public class MethodResultsNode extends java.lang.Object implements ResultsNode, groovy.lang.GroovyObject
-
-
Constructor Summary
Constructors Constructor Description MethodResultsNode(java.lang.String name)MethodResultsNode(java.lang.String name, java.lang.String signature)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMetricResult(MetricResult metricResult)booleancontainsClassResults()java.util.MapgetChildren()MetricLevelgetLevel()groovy.lang.MetaClassgetMetaClass()MetricResultgetMetricResult(Metric metric)java.util.List<MetricResult>getMetricResults()java.lang.StringgetName()java.lang.ObjectgetProperty(java.lang.String property)java.lang.StringgetSignature()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
-
getSignature
public final java.lang.String getSignature()
-
getLevel
public final MetricLevel getLevel()
- Specified by:
getLevelin 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
-
addMetricResult
public void addMetricResult(MetricResult metricResult)
-
getChildren
public java.util.Map getChildren()
- Specified by:
getChildrenin interfaceResultsNode
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-