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, toStringpublic IntegerMetric(MetricDefinition metricDefinition, int value)
metricDefinition - the definition of this metricvalue - the integer valuepublic String renderValue()
MetricrenderValue in class Metric<Integer>public Integer rawValue()
MetricCopyright © 2016–2020. All rights reserved.