public enum StandardCommandType extends java.lang.Enum<StandardCommandType> implements CommandType
Enum Constant and Description |
---|
CHECK |
CREATE |
DELETE |
INFO |
LOGIN |
LOGOUT |
POLL |
RENEW |
TRANSFER |
UPDATE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommandName()
Get the command name, as described above.
|
static StandardCommandType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StandardCommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardCommandType LOGIN
public static final StandardCommandType LOGOUT
public static final StandardCommandType POLL
public static final StandardCommandType CHECK
public static final StandardCommandType INFO
public static final StandardCommandType CREATE
public static final StandardCommandType DELETE
public static final StandardCommandType UPDATE
public static final StandardCommandType TRANSFER
public static final StandardCommandType RENEW
public static StandardCommandType[] values()
for (StandardCommandType c : StandardCommandType.values()) System.out.println(c);
public static StandardCommandType 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.String getCommandName()
CommandType
getCommandName
in interface CommandType