Package org.gmetrics.metric.abc.result
Class AggregateAbcMetricResult
- java.lang.Object
-
- org.gmetrics.metric.abc.result.AggregateAbcMetricResult
-
- All Implemented Interfaces:
groovy.lang.GroovyObject,MetricResult
public class AggregateAbcMetricResult extends Object implements MetricResult, groovy.lang.GroovyObject
-
-
Constructor Summary
Constructors Constructor Description AggregateAbcMetricResult(Metric metric, MetricLevel metricLevel, Collection children)AggregateAbcMetricResult(Metric metric, MetricLevel metricLevel, Collection children, Integer lineNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcalculateFunctions(Collection children)ObjectgetAbcVector()ObjectgetAt(String name)ObjectgetAverageAbcVector()intgetCount()IntegergetLineNumber()groovy.lang.MetaClassgetMetaClass()MetricgetMetric()MetricLevelgetMetricLevel()ObjectgetProperty(String property)ObjectgetTotalAbcVector()ObjectgetValue()ObjectinvokeMethod(String method, Object arguments)voidsetMetaClass(groovy.lang.MetaClass mc)voidsetProperty(String property, Object value)StringtoString()
-
-
-
Constructor Detail
-
AggregateAbcMetricResult
public AggregateAbcMetricResult(Metric metric, MetricLevel metricLevel, Collection children)
-
AggregateAbcMetricResult
public AggregateAbcMetricResult(Metric metric, MetricLevel metricLevel, Collection children, Integer lineNumber)
-
-
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
-
getMetric
public final Metric getMetric()
- Specified by:
getMetricin interfaceMetricResult
-
getMetricLevel
public final MetricLevel getMetricLevel()
- Specified by:
getMetricLevelin interfaceMetricResult
-
getValue
public final Object getValue()
-
getLineNumber
public final Integer getLineNumber()
- Specified by:
getLineNumberin interfaceMetricResult
-
calculateFunctions
protected void calculateFunctions(Collection children)
-
getCount
public int getCount()
- Specified by:
getCountin interfaceMetricResult
-
getTotalAbcVector
public Object getTotalAbcVector()
-
getAbcVector
public Object getAbcVector()
-
getAverageAbcVector
public Object getAverageAbcVector()
-
getAt
public Object getAt(String name)
- Specified by:
getAtin interfaceMetricResult
-
-