public enum AgentState extends Enum<AgentState>
AsteriskAgent
.Enum Constant and Description |
---|
AGENT_IDLE
Agent is logged in and waiting for call.
|
AGENT_LOGGEDOFF
Agent isn't logged in.
|
AGENT_ONCALL
Agent is logged in and on a call.
|
AGENT_RINGING
Agent is logged in and a call is waiting for connect.
|
AGENT_UNKNOWN
Don't know anything about agent.
|
Modifier and Type | Method and Description |
---|---|
static AgentState |
valueOf(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 AGENT_LOGGEDOFF
public static final AgentState AGENT_IDLE
public static final AgentState AGENT_ONCALL
public static final AgentState AGENT_UNKNOWN
public static final AgentState AGENT_RINGING
public static AgentState[] values()
for (AgentState c : AgentState.values()) System.out.println(c);
public static AgentState 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 © 2004–2017. All rights reserved.