Package | Description |
---|---|
org.sonar.api.measures |
Modifier and Type | Method and Description |
---|---|
Metric.ValueType |
Metric.getType() |
static Metric.ValueType |
Metric.ValueType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Metric.ValueType[] |
Metric.ValueType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Metric<G> |
Metric.setType(Metric.ValueType type)
Sets the metric type
|
Constructor and Description |
---|
Builder(String key,
String name,
Metric.ValueType type)
Creates a new
Metric.Builder object. |
Metric(String key,
Metric.ValueType type)
Deprecated.
since 2.7 use the
Metric.Builder factory. |
Metric(String key,
String name,
String description,
Metric.ValueType type,
Integer direction,
Boolean qualitative,
String domain)
Deprecated.
since 2.7 use the
Metric.Builder factory. |
Copyright © 2009–2016 SonarSource. All rights reserved.