public enum AgentState extends java.lang.Enum<AgentState>
Enum Constant and Description |
---|
FINISHED
Agent has terminated.
|
FINISHING
Agent is terminating.
|
IDLE
Agent is idle, i.e., it is blocked or all its behaviors are blocked.
|
INIT
Agent is being initialized.
|
NONE
Unknown state.
|
RUNNING
Agent has active behaviors and it is not blocked.
|
Modifier and Type | Method and Description |
---|---|
static AgentState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AgentState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentState NONE
public static final AgentState INIT
public static final AgentState IDLE
public static final AgentState RUNNING
public static final AgentState FINISHING
public static final AgentState FINISHED
public static AgentState[] values()
for (AgentState c : AgentState.values()) System.out.println(c);
public static AgentState 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