public static enum PolicyStats.Metric.MetricType extends Enum<PolicyStats.Metric.MetricType>
| Modifier and Type | Method and Description |
|---|---|
static PolicyStats.Metric.MetricType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PolicyStats.Metric.MetricType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolicyStats.Metric.MetricType NUMBER
public static final PolicyStats.Metric.MetricType PERCENT
public static final PolicyStats.Metric.MetricType OBJECT
public static PolicyStats.Metric.MetricType[] values()
for (PolicyStats.Metric.MetricType c : PolicyStats.Metric.MetricType.values()) System.out.println(c);
public static PolicyStats.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 null