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 void
calculateFunctions(java.util.Collection children)
java.lang.Object
getAbcVector()
java.lang.Object
getAt(java.lang.String name)
java.lang.Object
getAverageAbcVector()
int
getCount()
java.lang.Integer
getLineNumber()
groovy.lang.MetaClass
getMetaClass()
Metric
getMetric()
MetricLevel
getMetricLevel()
java.lang.Object
getProperty(java.lang.String property)
java.lang.Object
getTotalAbcVector()
java.lang.Object
getValue()
java.lang.Object
invokeMethod(java.lang.String method, java.lang.Object arguments)
void
setMetaClass(groovy.lang.MetaClass mc)
void
setProperty(java.lang.String property, java.lang.Object value)
java.lang.String
toString()
-
-
-
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:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
public java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments)
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
public java.lang.Object getProperty(java.lang.String property)
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
public void setProperty(java.lang.String property, java.lang.Object value)
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
getMetric
public final Metric getMetric()
- Specified by:
getMetric
in interfaceMetricResult
-
getMetricLevel
public final MetricLevel getMetricLevel()
- Specified by:
getMetricLevel
in interfaceMetricResult
-
getValue
public final java.lang.Object getValue()
-
getLineNumber
public final java.lang.Integer getLineNumber()
- Specified by:
getLineNumber
in interfaceMetricResult
-
calculateFunctions
protected void calculateFunctions(java.util.Collection children)
-
getCount
public int getCount()
- Specified by:
getCount
in 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:
getAt
in interfaceMetricResult
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-