class MapMetricResult
A MetricResult for arbitrary values, backed by a Map. An instance of this class is immutable.
Type | Name and description |
---|---|
int |
count |
Integer |
lineNumber |
Metric |
metric |
MetricLevel |
metricLevel |
Constructor and description |
---|
MapMetricResult
(Metric metric, MetricLevel metricLevel, Map<String, Object> map, int count = 1) Construct a new instance |
Construct a new instance
metric
- - the Metric to which this result appliesmetricLevel
- - the metric level for this resultmap
- - the Map of metric result valuescount
- - the count value; optional, defaults to 1Groovy Documentation