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.
|
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.
getMetrics
List getMetrics()
-
- Returns:
- a List of Metric objects
Groovy Documentation