|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 classdescription
- description of the MetricSet (optional)Constructor Summary | |
MetricSetBuilder()
|
Method Summary | |
---|---|
MetricSet
|
getMetricSet()
|
void
|
metricset(groovy.lang.Closure closure)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail |
---|
MetricSetBuilder()
Method Detail |
---|
MetricSet getMetricSet()
void metricset(groovy.lang.Closure closure)
Groovy Documentation