Groovy Documentation

org.gmetrics.resultsnode
[Groovy] Class PackageResultsNode

java.lang.Object
  org.gmetrics.resultsnode.PackageResultsNode
All Implemented Interfaces:
ResultsNode

class PackageResultsNode

Represents a package node in the hierarchy of metric result nodes

Authors:
Chris Mair
Version:
\$Revision: 210 \$ - \$Date: 2012-01-02 13:08:10 -0500 (Mon, 02 Jan 2012) \$


Property Summary
MetricLevel level

List metricResults

String name

String path

 
Constructor Summary
PackageResultsNode(String name)

PackageResultsNode(String name, String path)

 
Method Summary
void addChild(String name, ResultsNode child)

void addChildIfNotEmpty(String name, ResultsNode child)

void applyMetric(Metric metric)

boolean containsClassResults()

Map getChildren()

MetricResult getMetricResult(Metric metric)

String toString()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Property Detail

level

final MetricLevel level


metricResults

final List metricResults


name

final String name


path

final String path


 
Constructor Detail

PackageResultsNode

PackageResultsNode(String name)


PackageResultsNode

PackageResultsNode(String name, String path)


 
Method Detail

addChild

void addChild(String name, ResultsNode child)


addChildIfNotEmpty

void addChildIfNotEmpty(String name, ResultsNode child)


applyMetric

void applyMetric(Metric metric)


containsClassResults

boolean containsClassResults()


getChildren

Map getChildren()


getMetricResult

MetricResult getMetricResult(Metric metric)


toString

String toString()


 

Groovy Documentation