Package tigase.workgroupqueues.scheduler
Enum Class Agent.State
- All Implemented Interfaces:
Serializable
,Comparable<Agent.State>
,Constable
- Enclosing class:
- Agent
-
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 is busy (possibly with other chats).Indicates the agent is available to chat (is idle and ready to handle more conversations).The agent is busy and should not be disturbed.The agent is physically away from their terminal and should not have a chat routed to them. -
Method Summary
Modifier and TypeMethodDescriptionstatic Agent.State
Returns the enum constant of this class with the specified name.static Agent.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
chat
Indicates the agent is available to chat (is idle and ready to handle more conversations). -
away
The agent is busy (possibly with other chats). The agent may still be able to handle other chats but an offer rejection is likely. -
xa
The agent is physically away from their terminal and should not have a chat routed to them. -
dnd
The agent is busy and should not be disturbed. However, special case, or extreme urgency chats may still be offered to the agent although offer rejection or offer timeouts are highly likely.
-
-
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
-