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