Groovy Documentation

org.gmetrics.metricset
[Groovy] Class CompositeMetricSet

java.lang.Object
  org.gmetrics.metricset.CompositeMetricSet
All Implemented Interfaces:
MetricSet

class CompositeMetricSet

A MetricSet implementation that aggregates a set of MetricSets and Metrics.

Authors:
Chris Mair
Version:
\$Revision: 85 \$ - \$Date: 2010-02-26 21:51:52 -0500 (Fri, 26 Feb 2010) \$


Method Summary
void addMetric(Metric metric)

Add a single Metric to this MetricSet

void addMetricSet(MetricSet metricSet)

Add all of the Metrics within the specified MetricSet to this MetricSet

List getMetrics()

Returns:
a List of Metric objects.

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

Method Detail

addMetric

void addMetric(Metric metric)
Add a single Metric to this MetricSet
Parameters:
metric - - the Metric to add


addMetricSet

void addMetricSet(MetricSet metricSet)
Add all of the Metrics within the specified MetricSet to this MetricSet
Parameters:
metricSet - - the MetricSet whose Metrics are to be included


getMetrics

List getMetrics()
Returns:
a List of Metric objects. The returned List is immutable.


 

Groovy Documentation