Package org.gmetrics.result
Class MetricResultBuilder
- java.lang.Object
-
- org.gmetrics.result.MetricResultBuilder
-
- All Implemented Interfaces:
groovy.lang.GroovyObject
public class MetricResultBuilder extends Object implements groovy.lang.GroovyObject
-
-
Constructor Summary
Constructors Constructor Description MetricResultBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricResultcreateAggregateMetricResult(Collection<MetricResult> children, Integer lineNumber)MetricResultcreateAggregateMetricResult(Collection<MetricResult> children, Integer lineNumber, Map<String,Object> overrideValues)groovy.lang.MetaClassgetMetaClass()MetricgetMetric()MetricLevelgetMetricLevel()ObjectgetProperty(String property)intgetScale()ObjectinvokeMethod(String method, Object arguments)voidsetMetaClass(groovy.lang.MetaClass mc)voidsetMetric(Metric value)voidsetMetricLevel(MetricLevel value)voidsetProperty(String property, Object value)voidsetScale(int value)StringtoString()
-
-
-
Method Detail
-
createAggregateMetricResult
public MetricResult createAggregateMetricResult(Collection<MetricResult> children, Integer lineNumber)
-
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
-
getMetric
public Metric getMetric()
-
setMetric
public void setMetric(Metric value)
-
getMetricLevel
public MetricLevel getMetricLevel()
-
setMetricLevel
public void setMetricLevel(MetricLevel value)
-
getScale
public int getScale()
-
setScale
public void setScale(int value)
-
createAggregateMetricResult
public MetricResult createAggregateMetricResult(Collection<MetricResult> children, Integer lineNumber, Map<String,Object> overrideValues)
-
-