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
- The name of a predefined Metric - to load a single Metric
description
- description of the MetricSet (optional)
- Authors:
- Chris Mair
getMetricSet
MetricSet getMetricSet()
-
metricset
void metricset(groovy.lang.Closure closure)
-
Groovy Documentation