org.gmetrics.resultsnode
Class MethodResultsNode

java.lang.Object
  extended by org.gmetrics.resultsnode.MethodResultsNode
All Implemented Interfaces:
groovy.lang.GroovyObject, ResultsNode

public class MethodResultsNode
extends java.lang.Object
implements groovy.lang.GroovyObject, ResultsNode

Represents a method result node in the hierarchy of metric result nodes

Version:
$Revision: 24 $ - $Date: 2009-12-10 21:17:05 -0500 (Thu, 10 Dec 2009) $
Author:
Chris Mair

Constructor Summary
MethodResultsNode()
           
 
Method Summary
 void addMetricResult(MetricResult metricResult)
           
 boolean containsClassResults()
           
 java.util.Map getChildren()
           
 MetricLevel getLevel()
           
 groovy.lang.MetaClass getMetaClass()
           
 MetricResult getMetricResult(Metric metric)
           
 java.util.List getMetricResults()
           
 java.lang.Object getProperty(java.lang.String name)
           
 java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args)
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setProperty(java.lang.String name, java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodResultsNode

public MethodResultsNode()
Method Detail

getLevel

public final MetricLevel getLevel()
Specified by:
getLevel in interface ResultsNode

getMetricResults

public final java.util.List getMetricResults()
Specified by:
getMetricResults in interface ResultsNode

containsClassResults

public boolean containsClassResults()
Specified by:
containsClassResults in interface ResultsNode

getMetricResult

public MetricResult getMetricResult(Metric metric)
Specified by:
getMetricResult in interface ResultsNode

addMetricResult

public void addMetricResult(MetricResult metricResult)

getChildren

public java.util.Map getChildren()
Specified by:
getChildren in interface ResultsNode

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass metaClass)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public java.lang.Object invokeMethod(java.lang.String name,
                                     java.lang.Object args)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public java.lang.Object getProperty(java.lang.String name)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject


Copyright © 2010. All Rights Reserved.