public static enum Agent.State extends Enum<Agent.State>
| Enum Constant and Description |
|---|
away
The agent is busy (possibly with other chats).
|
chat
Indicates the agent is available to chat (is idle and ready to handle more conversations).
|
dnd
The agent is busy and should not be disturbed.
|
xa
The agent is physically away from their terminal and should not have a chat routed to them.
|
| Modifier and Type | Method and Description |
|---|---|
static Agent.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Agent.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Agent.State chat
public static final Agent.State away
public static final Agent.State xa
public static final Agent.State dnd
public static Agent.State[] values()
for (Agent.State c : Agent.State.values()) System.out.println(c);
public static Agent.State 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–2019 "Tigase, Inc.". All rights reserved.