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
ConstructorsConstructorDescriptionAggregateAbcMetricResult
(Metric metric, MetricLevel metricLevel, Collection children) AggregateAbcMetricResult
(Metric metric, MetricLevel metricLevel, Collection children, Integer lineNumber) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
calculateFunctions
(Collection children) int
getCount()
final Integer
groovy.lang.MetaClass
final Metric
final MetricLevel
getProperty
(String property) final Object
getValue()
invokeMethod
(String method, Object arguments) void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value) toString()
-
Constructor Details
-
AggregateAbcMetricResult
-
AggregateAbcMetricResult
public AggregateAbcMetricResult(Metric metric, MetricLevel metricLevel, Collection children, Integer lineNumber)
-
-
Method Details
-
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
- Specified by:
getMetric
in interfaceMetricResult
-
getMetricLevel
- Specified by:
getMetricLevel
in interfaceMetricResult
-
getValue
-
getLineNumber
- Specified by:
getLineNumber
in interfaceMetricResult
-
calculateFunctions
-
getCount
public int getCount()- Specified by:
getCount
in interfaceMetricResult
-
getTotalAbcVector
-
getAbcVector
-
getAverageAbcVector
-
getAt
- Specified by:
getAt
in interfaceMetricResult
-
toString
-