org.gmetrics.resultsnode
Class ClassResultsNode

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

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

Represents a node in the hierarchy of metric result nodes

Version:
$Revision: 28 $ - $Date: 2009-12-12 22:47:13 -0500 (Sat, 12 Dec 2009) $
Author:
Chris Mair

Constructor Summary
ClassResultsNode()
           
 
Method Summary
 void addClassMetricResult(ClassMetricResult classMetricResult)
           
 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

ClassResultsNode

public ClassResultsNode()
Method Detail

getLevel

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

getChildren

public final java.util.Map getChildren()
Specified by:
getChildren 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

addClassMetricResult

public void addClassMetricResult(ClassMetricResult classMetricResult)

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.