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

public static enum AgentSidebarContent.ToggleEvent extends Enum<AgentSidebarContent.ToggleEvent>
Defines toggle events to open or close the sidebar automatically, when the specified event occurs.
Since:
11.27
  • Enum Constant Details

    • OPEN_ON_LOGIN

      public static final AgentSidebarContent.ToggleEvent OPEN_ON_LOGIN
      Opens the agent sidebar when an agent has logged in.
      Since:
      11.27
    • OPEN_ON_PHONE_DEVICE_BUSY

      public static final AgentSidebarContent.ToggleEvent OPEN_ON_PHONE_DEVICE_BUSY
      Opens the agent sidebar when the phone device is busy.
      Since:
      11.27
    • CLOSE_ON_PHONE_DEVICE_CLEAR

      public static final AgentSidebarContent.ToggleEvent CLOSE_ON_PHONE_DEVICE_CLEAR
      Closes the agent sidebar when the phone device is clear.
      Since:
      11.27
  • Method Details

    • values

      public static AgentSidebarContent.ToggleEvent[] 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

      public static AgentSidebarContent.ToggleEvent valueOf(String name)
      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 name
      NullPointerException - if the argument is null