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.MetaClass
getProperty
(String property) int
getScale()
invokeMethod
(String method, Object arguments) void
setMetaClass
(groovy.lang.MetaClass mc) void
void
setMetricLevel
(MetricLevel value) void
setProperty
(String property, Object value) void
setScale
(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:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
- Specified by:
setProperty
in 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
-