Package org.gmetrics.metric.abc.result
Class AbcMetricResult
- java.lang.Object
-
- org.gmetrics.metric.abc.result.AbcMetricResult
-
- All Implemented Interfaces:
groovy.lang.GroovyObject
,MetricResult
public class AbcMetricResult extends Object implements MetricResult, groovy.lang.GroovyObject
-
-
Constructor Summary
Constructors Constructor Description AbcMetricResult(Metric metric, MetricLevel metricLevel, AbcVector abcVector)
AbcMetricResult(Metric metric, MetricLevel metricLevel, AbcVector abcVector, Integer lineNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbcVector
getAbcVector()
Object
getAt(String name)
int
getCount()
Integer
getLineNumber()
groovy.lang.MetaClass
getMetaClass()
Metric
getMetric()
MetricLevel
getMetricLevel()
Object
getProperty(String property)
Object
invokeMethod(String method, Object arguments)
void
setMetaClass(groovy.lang.MetaClass mc)
void
setProperty(String property, Object value)
String
toString()
-
-
-
Constructor Detail
-
AbcMetricResult
public AbcMetricResult(Metric metric, MetricLevel metricLevel, AbcVector abcVector)
-
AbcMetricResult
public AbcMetricResult(Metric metric, MetricLevel metricLevel, AbcVector abcVector, 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 Object invokeMethod(String method, Object arguments)
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
public Object getProperty(String property)
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
public void setProperty(String property, Object value)
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
getAbcVector
public final AbcVector getAbcVector()
-
getMetric
public final Metric getMetric()
- Specified by:
getMetric
in interfaceMetricResult
-
getMetricLevel
public final MetricLevel getMetricLevel()
- Specified by:
getMetricLevel
in interfaceMetricResult
-
getLineNumber
public final Integer getLineNumber()
- Specified by:
getLineNumber
in interfaceMetricResult
-
getCount
public final int getCount()
- Specified by:
getCount
in interfaceMetricResult
-
getAt
public Object getAt(String name)
- Specified by:
getAt
in interfaceMetricResult
-
-