Enum Class HookMessage.AgentActionEvent
- All Implemented Interfaces:
Serializable
,Comparable<HookMessage.AgentActionEvent>
,Constable
- Enclosing class:
HookMessage
Enumeration representing agent actions that could be monitored using hooks.
- Since:
- MaDKit 5.0.0.14
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe agent started.The agent terminated.The broadcast message.The create group.The leave group.The leave role.The request role.The send message. -
Method Summary
Modifier and TypeMethodDescriptionstatic HookMessage.AgentActionEvent
Returns the enum constant of this class with the specified name.static HookMessage.AgentActionEvent[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATE_GROUP
The create group. -
REQUEST_ROLE
The request role. -
LEAVE_GROUP
The leave group. -
LEAVE_ROLE
The leave role. -
SEND_MESSAGE
The send message. -
BROADCAST_MESSAGE
The broadcast message. -
AGENT_STARTED
The agent started. -
AGENT_TERMINATED
The agent terminated.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-