Groovy Documentation

org.gmetrics.metricset
[Groovy] Class ListMetricSet

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

class ListMetricSet

A MetricSet implementation that returns a static List of Metrics passed into its constructor.

Authors:
Chris Mair
Version:
\$Revision: 107 \$ - \$Date: 2010-06-05 07:23:27 -0400 (Sat, 05 Jun 2010) \$


Constructor Summary
ListMetricSet(List metrics)

Construct a new instance from the specified List of metrics.

 
Method Summary
List getMetrics()

@return a List of Metric objects

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

Constructor Detail

ListMetricSet

ListMetricSet(List metrics)
Construct a new instance from the specified List of metrics.
Parameters:
metrics - - the List of List of Metric objects; must not be null, but may be empty.


 
Method Detail

getMetrics

List getMetrics()
Returns:
a List of Metric objects


 

Groovy Documentation