public enum ResponseType extends java.lang.Enum<ResponseType> implements IResponseType
Enum Constant and Description |
---|
AUTHENTICATION_ERROR |
DID_NOTHING |
FAILED |
ITEM |
ITEM_LIST |
MESSAGE |
MISSING_POWER |
SUCCEEDED |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
parseObject(java.lang.String message) |
static ResponseType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResponseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseType DID_NOTHING
public static final ResponseType MESSAGE
public static final ResponseType SUCCEEDED
public static final ResponseType FAILED
public static final ResponseType AUTHENTICATION_ERROR
public static final ResponseType MISSING_POWER
public static final ResponseType ITEM
public static final ResponseType ITEM_LIST
public static ResponseType[] values()
for (ResponseType c : ResponseType.values()) System.out.println(c);
public static ResponseType 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 nullpublic java.lang.Object parseObject(java.lang.String message)
parseObject
in interface IResponseType