Package org.gmetrics.result
Class MetricResultBuilder
java.lang.Object
org.gmetrics.result.MetricResultBuilder
- All Implemented Interfaces:
groovy.lang.GroovyObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAggregateMetricResult(Collection<MetricResult> children, Integer lineNumber) createAggregateMetricResult(Collection<MetricResult> children, Integer lineNumber, Map<String, Object> overrideValues) groovy.lang.MetaClassgetProperty(String property) intgetScale()invokeMethod(String method, Object arguments) voidsetMetaClass(groovy.lang.MetaClass mc) voidvoidsetMetricLevel(MetricLevel value) voidsetProperty(String property, Object value) voidsetScale(int value) toString()
-
Constructor Details
-
MetricResultBuilder
public MetricResultBuilder()
-
-
Method Details
-
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
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject
-
getProperty
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject
-
setProperty
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject
-
getMetric
-
setMetric
-
getMetricLevel
-
setMetricLevel
-
getScale
public int getScale() -
setScale
public void setScale(int value) -
createAggregateMetricResult
public MetricResult createAggregateMetricResult(Collection<MetricResult> children, Integer lineNumber, Map<String, Object> overrideValues) -
toString
-