public static enum Metric.MetricType extends Enum<Metric.MetricType>
Enum Constant and Description |
---|
COST |
ELASTICITY |
QUALITY |
RESOURCE |
Modifier and Type | Method and Description |
---|---|
static Metric.MetricType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Metric.MetricType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Metric.MetricType RESOURCE
public static final Metric.MetricType QUALITY
public static final Metric.MetricType COST
public static final Metric.MetricType ELASTICITY
public static Metric.MetricType[] values()
for (Metric.MetricType c : Metric.MetricType.values()) System.out.println(c);
public static Metric.MetricType 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 © 2016. All Rights Reserved.