public static enum HookMessage.AgentActionEvent extends java.lang.Enum<HookMessage.AgentActionEvent>
Enum Constant and Description |
---|
AGENT_STARTED |
AGENT_TERMINATED |
BROADCAST_MESSAGE |
CREATE_GROUP |
LEAVE_GROUP |
LEAVE_ROLE |
REQUEST_ROLE |
SEND_MESSAGE |
Modifier and Type | Method and Description |
---|---|
static HookMessage.AgentActionEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HookMessage.AgentActionEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HookMessage.AgentActionEvent CREATE_GROUP
public static final HookMessage.AgentActionEvent REQUEST_ROLE
public static final HookMessage.AgentActionEvent LEAVE_GROUP
public static final HookMessage.AgentActionEvent LEAVE_ROLE
public static final HookMessage.AgentActionEvent SEND_MESSAGE
public static final HookMessage.AgentActionEvent BROADCAST_MESSAGE
public static final HookMessage.AgentActionEvent AGENT_STARTED
public static final HookMessage.AgentActionEvent AGENT_TERMINATED
public static HookMessage.AgentActionEvent[] values()
for (HookMessage.AgentActionEvent c : HookMessage.AgentActionEvent.values()) System.out.println(c);
public static HookMessage.AgentActionEvent 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
Fabien Michel, Olivier Gutknecht, Jacques Ferber - November 18 2014