Enum Constant and Description |
---|
AGENT_FOR_SERVICE |
AGENTS |
AGENTS_FOR_SERVICE |
AUTH |
CONTAINS_AGENT |
SEND |
SERVICES |
SHUTDOWN |
WANTS_MESSAGES_FOR |
Modifier and Type | Method and Description |
---|---|
static Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="auth") public static final Action AUTH
@SerializedName(value="agents") public static final Action AGENTS
@SerializedName(value="containsAgent") public static final Action CONTAINS_AGENT
@SerializedName(value="services") public static final Action SERVICES
@SerializedName(value="agentForService") public static final Action AGENT_FOR_SERVICE
@SerializedName(value="agentsForService") public static final Action AGENTS_FOR_SERVICE
@SerializedName(value="send") public static final Action SEND
@SerializedName(value="wantsMessagesFor") public static final Action WANTS_MESSAGES_FOR
@SerializedName(value="shutdown") public static final Action SHUTDOWN
public static Action[] values()
for (Action c : Action.values()) System.out.println(c);
public static Action 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