|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ClientCommand> org.inria.myriads.snoozeclient.parser.commands.ClientCommand
public enum ClientCommand
Client commands.
Enum Constant Summary | |
---|---|
ADD
Add. |
|
DEFINE
Define. |
|
DESTROY
Destroy. |
|
DUMP
Dump. |
|
INFO
Info. |
|
LIST
List. |
|
REMOVE
Remove. |
|
RESUME
Resume. |
|
SHUTDOWN
Shutdown. |
|
START
Start. |
|
SUSPEND
Suspend. |
|
UNDEFINE
Undefine. |
|
VISUALIZE
Visualize. |
Method Summary | |
---|---|
String |
getCommandName()
Returns the command name. |
static ClientCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ClientCommand[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ClientCommand DEFINE
public static final ClientCommand UNDEFINE
public static final ClientCommand ADD
public static final ClientCommand REMOVE
public static final ClientCommand START
public static final ClientCommand SUSPEND
public static final ClientCommand RESUME
public static final ClientCommand SHUTDOWN
public static final ClientCommand DESTROY
public static final ClientCommand INFO
public static final ClientCommand LIST
public static final ClientCommand VISUALIZE
public static final ClientCommand DUMP
Method Detail |
---|
public static ClientCommand[] values()
for (ClientCommand c : ClientCommand.values()) System.out.println(c);
public static ClientCommand valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getCommandName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |