Enum ChatStep.ChatStepOrigin

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ChatStep.ChatStepOrigin>
    Enclosing interface:
    ChatStep

    public static enum ChatStep.ChatStepOrigin
    extends java.lang.Enum<ChatStep.ChatStepOrigin>
    This enumeration describes the origin of a chat step.
    Since:
    11.3
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      AGENT
      means that the chat step was triggered by the agent
      CUSTOMER
      means that the chat step was triggered by the customer
      SYSTEM
      means that the chat step was triggered by the system
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ChatStep.ChatStepOrigin valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ChatStep.ChatStepOrigin[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • AGENT

        public static final ChatStep.ChatStepOrigin AGENT
        means that the chat step was triggered by the agent
        Since:
        11.3
      • CUSTOMER

        public static final ChatStep.ChatStepOrigin CUSTOMER
        means that the chat step was triggered by the customer
        Since:
        11.3
      • SYSTEM

        public static final ChatStep.ChatStepOrigin SYSTEM
        means that the chat step was triggered by the system
        Since:
        11.3
    • Method Detail

      • values

        public static ChatStep.ChatStepOrigin[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ChatStep.ChatStepOrigin c : ChatStep.ChatStepOrigin.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ChatStep.ChatStepOrigin valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null