Groovy Documentation

org.gmetrics.metricset
Class ListMetricSet

java.lang.Object
  org.gmetrics.metricset.ListMetricSet

class ListMetricSet

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

author:
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()

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

Constructor Detail

ListMetricSet

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


 
Method Detail

getMetrics

List getMetrics()
return:
a List of Metric objects


 

Groovy Documentation