public static enum Metrics.Outcome extends java.lang.Enum<Metrics.Outcome>
| Enum Constant and Description |
|---|
ERROR |
SLOW_ERROR |
SLOW_SUCCESS |
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static Metrics.Outcome |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Metrics.Outcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Metrics.Outcome SUCCESS
public static final Metrics.Outcome ERROR
public static final Metrics.Outcome SLOW_SUCCESS
public static final Metrics.Outcome SLOW_ERROR
public static Metrics.Outcome[] values()
for (Metrics.Outcome c : Metrics.Outcome.values()) System.out.println(c);
public static Metrics.Outcome valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null