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 void
addMetricResult(MetricResult metricResult)
boolean
containsClassResults()
java.util.Map
getChildren()
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.String
getSignature()
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
-
getSignature
public final java.lang.String getSignature()
-
getLevel
public final MetricLevel getLevel()
- Specified by:
getLevel
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
-
addMetricResult
public void addMetricResult(MetricResult metricResult)
-
getChildren
public java.util.Map getChildren()
- Specified by:
getChildren
in interfaceResultsNode
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-