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.ValueTypelong getLongValue()
IllegalStateException - if the value type of the metric is not a long. See Metric.ValueTypedouble getDoubleValue()
IllegalStateException - if the value type of the metric is not a double. See Metric.ValueTypeString getStringValue()
IllegalStateException - if the value type of the metric is not a string. See Metric.ValueTypeboolean getBooleanValue()
IllegalStateException - if the value type of the metric is not a boolean. See Metric.ValueTypeCopyright © 2009–2017 SonarSource. All rights reserved.