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 java.lang.Object implements MetricResult, groovy.lang.GroovyObject
-
-
Constructor Summary
Constructors Constructor Description AggregateAbcMetricResult(Metric metric, MetricLevel metricLevel, java.util.Collection children)AggregateAbcMetricResult(Metric metric, MetricLevel metricLevel, java.util.Collection children, java.lang.Integer lineNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcalculateFunctions(java.util.Collection children)java.lang.ObjectgetAbcVector()java.lang.ObjectgetAt(java.lang.String name)java.lang.ObjectgetAverageAbcVector()intgetCount()java.lang.IntegergetLineNumber()groovy.lang.MetaClassgetMetaClass()MetricgetMetric()MetricLevelgetMetricLevel()java.lang.ObjectgetProperty(java.lang.String property)java.lang.ObjectgetTotalAbcVector()java.lang.ObjectgetValue()java.lang.ObjectinvokeMethod(java.lang.String method, java.lang.Object arguments)voidsetMetaClass(groovy.lang.MetaClass mc)voidsetProperty(java.lang.String property, java.lang.Object value)java.lang.StringtoString()
-
-
-
Constructor Detail
-
AggregateAbcMetricResult
public AggregateAbcMetricResult(Metric metric, MetricLevel metricLevel, java.util.Collection children)
-
AggregateAbcMetricResult
public AggregateAbcMetricResult(Metric metric, MetricLevel metricLevel, java.util.Collection children, java.lang.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 java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments)- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject
-
getProperty
public java.lang.Object getProperty(java.lang.String property)
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject
-
setProperty
public void setProperty(java.lang.String property, java.lang.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 java.lang.Object getValue()
-
getLineNumber
public final java.lang.Integer getLineNumber()
- Specified by:
getLineNumberin interfaceMetricResult
-
calculateFunctions
protected void calculateFunctions(java.util.Collection children)
-
getCount
public int getCount()
- Specified by:
getCountin interfaceMetricResult
-
getTotalAbcVector
public java.lang.Object getTotalAbcVector()
-
getAbcVector
public java.lang.Object getAbcVector()
-
getAverageAbcVector
public java.lang.Object getAverageAbcVector()
-
getAt
public java.lang.Object getAt(java.lang.String name)
- Specified by:
getAtin interfaceMetricResult
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-