Enum Class AgentSidebarContent.ToggleEvent
java.lang.Object
java.lang.Enum<AgentSidebarContent.ToggleEvent>
com.novomind.ecom.api.imail.agent.frontend.sidebar.AgentSidebarContent.ToggleEvent
- All Implemented Interfaces:
Serializable
,Comparable<AgentSidebarContent.ToggleEvent>
,Constable
- Enclosing class:
AgentSidebarContent
Defines toggle events to open or close the sidebar
automatically, when the specified event occurs.
- Since:
- 11.27
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCloses the agent sidebar when the phone device is clear.Opens the agent sidebar when an agent has logged in.Opens the agent sidebar when the phone device is busy. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AgentSidebarContent.ToggleEvent[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OPEN_ON_LOGIN
Opens the agent sidebar when an agent has logged in.- Since:
- 11.27
-
OPEN_ON_PHONE_DEVICE_BUSY
Opens the agent sidebar when the phone device is busy.- Since:
- 11.27
-
CLOSE_ON_PHONE_DEVICE_CLEAR
Closes the agent sidebar when the phone device is clear.- Since:
- 11.27
-
-
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
-