Package | Description |
---|---|
org.sonar.api.database.model | |
org.sonar.api.measures | |
org.sonar.api.profiles |
Modifier and Type | Method and Description |
---|---|
Metric.Level |
MeasureModel.getAlertStatus() |
Metric.Level |
MeasureModel.getLevelValue() |
Modifier and Type | Method and Description |
---|---|
MeasureModel |
MeasureModel.setAlertStatus(Metric.Level level)
Sets the measure alert status
|
Constructor and Description |
---|
MeasureModel(int metricId,
Metric.Level level)
Creates a measure based on a metric and an alert level
|
Modifier and Type | Field and Description |
---|---|
protected Metric.Level |
Measure.alertStatus |
Modifier and Type | Method and Description |
---|---|
Metric.Level |
Measure.getAlertStatus() |
Metric.Level |
Measure.getDataAsLevel() |
static Metric.Level |
Metric.Level.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Metric.Level[] |
Metric.Level.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Measure |
Measure.setAlertStatus(Metric.Level status)
Set the alert status of the measure
|
Measure |
Measure.setData(Metric.Level level)
Sets an alert level as the data field
|
Constructor and Description |
---|
Measure(Metric metric,
Metric.Level level)
Creates a measure with a metric and an alert level
|
Modifier and Type | Method and Description |
---|---|
String |
Alert.getAlertLabel(Metric.Level level)
Deprecated.
since 3.4 because it does not manage alerts with variation
|
Copyright © 2009-2014 SonarSource. All Rights Reserved.