Package org.gmetrics.metricset
Class TopLevelDelegate
- java.lang.Object
-
- org.gmetrics.metricset.TopLevelDelegate
-
- All Implemented Interfaces:
groovy.lang.GroovyObject
public class TopLevelDelegate extends Object implements groovy.lang.GroovyObject
-
-
Constructor Summary
Constructors Constructor Description TopLevelDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddescription(String description)groovy.lang.MetaClassgetMetaClass()protected MetricSetgetMetricSet()ObjectgetProperty(String property)ObjectinvokeMethod(String method, Object arguments)MetricmethodMissing(String name, Object args)Metricmetric(Class metricClass)Metricmetric(Class metricClass, groovy.lang.Closure closure)Metricmetric(Class metricClass, Map properties)voidmetricset(String path)voidmetricset(String path, groovy.lang.Closure closure)MetricpropertyMissing(String name)voidsetMetaClass(groovy.lang.MetaClass mc)voidsetProperty(String property, Object value)
-
-
-
Method Detail
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject
-
invokeMethod
public Object invokeMethod(String method, Object arguments)
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject
-
getProperty
public Object getProperty(String property)
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject
-
setProperty
public void setProperty(String property, Object value)
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject
-
metricset
public void metricset(String path)
-
metricset
public void metricset(String path, groovy.lang.Closure closure)
-
description
public void description(String description)
-
getMetricSet
protected MetricSet getMetricSet()
-
-