org.gmetrics.metricset
[Groovy] Class MetricSetBuilder
java.lang.Object
org.gmetrics.metricset.MetricSetBuilder
class MetricSetBuilder
A Builder for MetricSets. Create a MetricSet by calling the metricset
method, passing in a Closure
defining the contents of the MetricSet.
The Closure
can contain any combination of the following (as well as
arbitrary Groovy code):
metricset
- to load a MetricSet file. The path specifies a Groovy file.
metric
- to load a single Metric; specify the Metric class
description
- description of the MetricSet (optional)
- Authors:
- Chris Mair
- Version:
- \$Revision: 107 \$ - \$Date: 2010-06-05 07:23:27 -0400 (Sat, 05 Jun 2010) \$
getMetricSet
MetricSet getMetricSet()
-
metricset
void metricset(groovy.lang.Closure closure)
-
Groovy Documentation