Package org.gmetrics.result
Class MutableMapMetricResult
java.lang.Object
org.gmetrics.result.MutableMapMetricResult
- All Implemented Interfaces:
groovy.lang.GroovyObject
,MetricResult
public class MutableMapMetricResult
extends Object
implements MetricResult, groovy.lang.GroovyObject
-
Constructor Summary
ConstructorsConstructorDescriptionMutableMapMetricResult
(Metric metric, MetricLevel metricLevel, Map<String, Object> map) -
Method Summary
Modifier and TypeMethodDescriptionint
getCount()
final Integer
final Object
getMap()
groovy.lang.MetaClass
final Metric
final MetricLevel
getProperty
(String property) invokeMethod
(String method, Object arguments) void
void
setCount
(int value) void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value) toString()
-
Constructor Details
-
MutableMapMetricResult
-
-
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
-
getLineNumber
- Specified by:
getLineNumber
in interfaceMetricResult
-
getMap
-
getCount
public int getCount()- Specified by:
getCount
in interfaceMetricResult
-
setCount
public void setCount(int value) -
getAt
- Specified by:
getAt
in interfaceMetricResult
-
putAt
-
toString
-