public static enum Metric.Errors extends Enum<Metric.Errors> implements Metric.Value
Enum Constant and Description |
---|
ERROR_COUNT |
ERRORS_PER_MINUTE |
Modifier and Type | Method and Description |
---|---|
String |
value() |
static Metric.Errors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Metric.Errors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Metric.Errors ERRORS_PER_MINUTE
public static final Metric.Errors ERROR_COUNT
public static Metric.Errors[] values()
for (Metric.Errors c : Metric.Errors.values()) System.out.println(c);
public static Metric.Errors 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 nullpublic String value()
value
in interface Metric.Value
Copyright © 2018. All rights reserved.