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