Enum TicketState

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<TicketState>

    public enum TicketState
    extends java.lang.Enum<TicketState>
    Represents all types of ticket states.
    Since:
    12.0
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ANSWERED
      The ticket has been answered and the answered message is waiting to be sent.
      ASSIGNED
      The ticket has been assigned to an agent and the message has been delivered to the agent's folder.
      CLEARANCE_REQUIRED
      The ticket has been answered and is now waiting for clearance.
      CLOSED
      The ticket has been closed without being answered.
      CREATED
      The ticket has been created e.g.
      DELIVERY_FAILED
      The ticket has been answered and the message has been sent, but the message could not be delivered to one or multiple recipients and has bounced back.
      EXTERNAL_FORWARDED
      The ticket has been externally forwarded and will be processed by an external clerk.
      EXTERNAL_INQUIRED
      The ticket has been externally forwarded by an agent for an inquiry.
      INTERNAL_FORWARDED
      The ticket has been forwarded internally to an agent that currently is not available.
      QUEUED
      The ticket is queued and waiting to be assigned to an agent or to be processed automatically or manually by a supervisor.
      RESUBMITTED
      The ticket has been resubmitted by an agent and will be assigned again automatically to the agent at a specified time.
      SEND_FAILED
      The ticket has been answered but the answered message could not be sent.
      SENT_AND_CLOSED
      The ticket has been answered and the answered message has been sent.
      UNPROCESSABLE
      A message has been received for the ticket but the message is unprocessable.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static TicketState valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static TicketState[] 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

      • CREATED

        public static final TicketState CREATED
        The ticket has been created e.g. due to an incoming message that has been received by a message connector. The ticket will not be assigned or processed automatically in this state.
        Since:
        12.0
      • QUEUED

        public static final TicketState QUEUED
        The ticket is queued and waiting to be assigned to an agent or to be processed automatically or manually by a supervisor.
        Since:
        12.0
      • ASSIGNED

        public static final TicketState ASSIGNED
        The ticket has been assigned to an agent and the message has been delivered to the agent's folder.
        Since:
        12.0
      • RESUBMITTED

        public static final TicketState RESUBMITTED
        The ticket has been resubmitted by an agent and will be assigned again automatically to the agent at a specified time.
        Since:
        12.0
      • INTERNAL_FORWARDED

        public static final TicketState INTERNAL_FORWARDED
        The ticket has been forwarded internally to an agent that currently is not available. The ticket will be assigned to the agent automatically as soon as the addressed agent is available again.
        Since:
        12.0
      • EXTERNAL_FORWARDED

        public static final TicketState EXTERNAL_FORWARDED
        The ticket has been externally forwarded and will be processed by an external clerk. The external clerk sends the answer to the novomind iAGENT system and the answered message will be sent back to the customer and the ticket is finally closed.
        Since:
        12.0
      • EXTERNAL_INQUIRED

        public static final TicketState EXTERNAL_INQUIRED
        The ticket has been externally forwarded by an agent for an inquiry. The external clerk sends his answer back to the agent.
        Since:
        12.0
      • ANSWERED

        public static final TicketState ANSWERED
        The ticket has been answered and the answered message is waiting to be sent.
        Since:
        12.0
      • CLEARANCE_REQUIRED

        public static final TicketState CLEARANCE_REQUIRED
        The ticket has been answered and is now waiting for clearance.
        Since:
        12.0
      • SENT_AND_CLOSED

        public static final TicketState SENT_AND_CLOSED
        The ticket has been answered and the answered message has been sent. This is a final state if delivery succeeds.
        Since:
        12.0
      • CLOSED

        public static final TicketState CLOSED
        The ticket has been closed without being answered. This is a final state.
        Since:
        12.0
      • SEND_FAILED

        public static final TicketState SEND_FAILED
        The ticket has been answered but the answered message could not be sent.
        Since:
        12.0
      • DELIVERY_FAILED

        public static final TicketState DELIVERY_FAILED
        The ticket has been answered and the message has been sent, but the message could not be delivered to one or multiple recipients and has bounced back.
        Since:
        12.0
      • UNPROCESSABLE

        public static final TicketState UNPROCESSABLE
        A message has been received for the ticket but the message is unprocessable. This is a final state.
        Since:
        12.0
    • Method Detail

      • values

        public static TicketState[] 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 (TicketState c : TicketState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TicketState 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