public static enum ResultMessage.ResultType extends java.lang.Enum<ResultMessage.ResultType>
Enum Constant and Description |
---|
REQUEST_FAILED |
REQUEST_SUCCESSFUL |
UNKNOWN_RECEIVER |
UNKNOWN_REQUEST |
UNSUPPORTED_DATA |
Modifier and Type | Method and Description |
---|---|
static ResultMessage.ResultType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResultMessage.ResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultMessage.ResultType REQUEST_SUCCESSFUL
public static final ResultMessage.ResultType UNKNOWN_RECEIVER
public static final ResultMessage.ResultType UNKNOWN_REQUEST
public static final ResultMessage.ResultType UNSUPPORTED_DATA
public static final ResultMessage.ResultType REQUEST_FAILED
public static ResultMessage.ResultType[] values()
for (ResultMessage.ResultType c : ResultMessage.ResultType.values()) System.out.println(c);
public static ResultMessage.ResultType 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