public class IntegerMetric extends Metric<Integer>
Metric
representing an integer value.metricDefinition
Constructor and Description |
---|
IntegerMetric(MetricDefinition metricDefinition,
int value)
Constructor for a integer metric.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
Integer |
rawValue()
Return the raw value of this metric, e.g. used for calculations.
|
String |
renderValue()
Return the value of this metric that should be displayed in the UI.
|
getId, getMetricDefinition, toString
public IntegerMetric(MetricDefinition metricDefinition, int value)
metricDefinition
- the definition of this metricvalue
- the integer valuepublic String renderValue()
Metric
renderValue
in class Metric<Integer>
public Integer rawValue()
Metric
Copyright © 2016–2020. All rights reserved.