public static enum Metric.ValueType extends Enum<Metric.ValueType>
Enum Constant and Description |
---|
BOOL |
DATA |
DISTRIB |
FLOAT |
INT |
LEVEL |
MILLISEC |
PERCENT |
RATING |
STRING |
WORK_DUR |
Modifier and Type | Method and Description |
---|---|
static Metric.ValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Metric.ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Metric.ValueType INT
public static final Metric.ValueType FLOAT
public static final Metric.ValueType PERCENT
public static final Metric.ValueType BOOL
public static final Metric.ValueType STRING
public static final Metric.ValueType MILLISEC
public static final Metric.ValueType DATA
public static final Metric.ValueType LEVEL
public static final Metric.ValueType DISTRIB
public static final Metric.ValueType RATING
public static final Metric.ValueType WORK_DUR
public static Metric.ValueType[] values()
for (Metric.ValueType c : Metric.ValueType.values()) System.out.println(c);
public static Metric.ValueType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2009–2015 SonarSource. All rights reserved.