public static enum HandlerResultMessage.Status extends Enum<HandlerResultMessage.Status>
Enum Constant and Description |
---|
ERROR
If an error occurs.
|
OK
If no error occurs.
|
UNKNOWN
If the result is unknown.
|
WARN
If there was some problems.
|
Modifier and Type | Method and Description |
---|---|
static HandlerResultMessage.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HandlerResultMessage.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HandlerResultMessage.Status ERROR
public static final HandlerResultMessage.Status OK
public static final HandlerResultMessage.Status WARN
public static final HandlerResultMessage.Status UNKNOWN
public static HandlerResultMessage.Status[] values()
for (HandlerResultMessage.Status c : HandlerResultMessage.Status.values()) System.out.println(c);
public static HandlerResultMessage.Status 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 © 2015. All Rights Reserved.