public interface Measure
MeasureComputer
Modifier and Type | Method and Description |
---|---|
boolean |
getBooleanValue()
The value of this measure as a boolean.
|
double |
getDoubleValue()
The value of this measure as a double.
|
int |
getIntValue()
The value of this measure as a integer.
|
long |
getLongValue()
The value of this measure as a long.
|
String |
getStringValue()
The value of this measure as a string.
|
int getIntValue()
IllegalStateException
- if the value type of the metric is not a integer. See Metric.ValueType
long getLongValue()
IllegalStateException
- if the value type of the metric is not a long. See Metric.ValueType
double getDoubleValue()
IllegalStateException
- if the value type of the metric is not a double. See Metric.ValueType
String getStringValue()
IllegalStateException
- if the value type of the metric is not a string. See Metric.ValueType
boolean getBooleanValue()
IllegalStateException
- if the value type of the metric is not a boolean. See Metric.ValueType
Copyright © 2009–2016 SonarSource. All rights reserved.