Package com.unblu.sdk.core.model
Enum Class EConversationState
- All Implemented Interfaces:
Serializable
,Comparable<EConversationState>
,Constable
Represents the state of a conversation within the Unblu system.
Each state provides context about the current phase or action associated with a conversation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDepending of the engagement type of the conversation, the conversation is put in the queued state when it is inside the queue.Initial state of a conversationThe conversation has been ended.The conversation state is not specified.The conversation is in the process of being concluded, moving towards termination.Depending of the engagement type of the conversation, the conversation stays in the onboarding state as long as the person in the center of the conversation is doing his onboardingDepending of the engagement type of the conversation, the conversation is put in the queued state when it is inside the queue.When a message is send to an unassigned conversation, the conversation first is put into the reboarding state as long as the person in the center of the conversation is doing the reboarding.After there is no assignee of a conversation anymore, the conversation goes to unassigned state until a message from a visitor is written to start reboarding again. -
Method Summary
Modifier and TypeMethodDescriptionstatic EConversationState
Returns the enum constant of this class with the specified name.static EConversationState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
The conversation state is not specified. -
CREATED
Initial state of a conversation -
ONBOARDING
Depending of the engagement type of the conversation, the conversation stays in the onboarding state as long as the person in the center of the conversation is doing his onboarding -
REBOARDING
When a message is send to an unassigned conversation, the conversation first is put into the reboarding state as long as the person in the center of the conversation is doing the reboarding. -
QUEUED
Depending of the engagement type of the conversation, the conversation is put in the queued state when it is inside the queue. -
ACTIVE
Depending of the engagement type of the conversation, the conversation is put in the queued state when it is inside the queue. -
UNASSIGNED
After there is no assignee of a conversation anymore, the conversation goes to unassigned state until a message from a visitor is written to start reboarding again. -
OFFBOARDING
The conversation is in the process of being concluded, moving towards termination. -
ENDED
The conversation has been ended. No further collaboration is possible. This is the final state of a conversation.
-
-
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
-