public class MutableMapMetricResult extends Object implements MetricResult, groovy.lang.GroovyObject
Constructor and Description |
---|
MutableMapMetricResult(Metric metric,
MetricLevel metricLevel,
Map<String,Object> map) |
Modifier and Type | Method and Description |
---|---|
Object |
getAt(String name) |
int |
getCount() |
Integer |
getLineNumber() |
Object |
getMap() |
groovy.lang.MetaClass |
getMetaClass() |
Metric |
getMetric() |
MetricLevel |
getMetricLevel() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
putAt(String name,
Object newValue) |
void |
setCount(int value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
String |
toString() |
public MutableMapMetricResult(Metric metric, MetricLevel metricLevel, Map<String,Object> map)
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
public final Metric getMetric()
getMetric
in interface MetricResult
public final MetricLevel getMetricLevel()
getMetricLevel
in interface MetricResult
public final Integer getLineNumber()
getLineNumber
in interface MetricResult
public final Object getMap()
public int getCount()
getCount
in interface MetricResult
public void setCount(int value)
public Object getAt(String name)
getAt
in interface MetricResult
Copyright © 2022. All rights reserved.