public static enum AgentCommand.AgentCommandType extends Enum<AgentCommand.AgentCommandType>
Enum Constant and Description |
---|
EXECUTION_COMMAND |
REGISTRATION_COMMAND |
STATUS_COMMAND |
Modifier and Type | Method and Description |
---|---|
static AgentCommand.AgentCommandType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentCommand.AgentCommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentCommand.AgentCommandType EXECUTION_COMMAND
public static final AgentCommand.AgentCommandType STATUS_COMMAND
public static final AgentCommand.AgentCommandType REGISTRATION_COMMAND
public static AgentCommand.AgentCommandType[] values()
for (AgentCommand.AgentCommandType c : AgentCommand.AgentCommandType.values()) System.out.println(c);
public static AgentCommand.AgentCommandType 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 © 2014. All rights reserved.