Enum Class AgentRequestException.Reason

java.lang.Object
java.lang.Enum<AgentRequestException.Reason>
io.jmix.dynmodelai.AgentRequestException.Reason
All Implemented Interfaces:
Serializable, Comparable<AgentRequestException.Reason>, Constable
Enclosing class:
AgentRequestException

public static enum AgentRequestException.Reason extends Enum<AgentRequestException.Reason>
  • Enum Constant Details

    • RUN_UNAVAILABLE

      public static final AgentRequestException.Reason RUN_UNAVAILABLE
      The Run is unknown, no longer retained, or belongs to another Conversation.
    • RUN_STATE_CONFLICT

      public static final AgentRequestException.Reason RUN_STATE_CONFLICT
      Run or Draft state prevents starting, continuing, or approving the requested Run.
    • HUMAN_INPUT_UNAVAILABLE

      public static final AgentRequestException.Reason HUMAN_INPUT_UNAVAILABLE
      The question is unknown, closed, already answered, or an answer is being submitted.
    • EVENT_HISTORY_UNAVAILABLE

      public static final AgentRequestException.Reason EVENT_HISTORY_UNAVAILABLE
      Some events after the requested sequence have already been removed.
  • Method Details

    • values

      public static AgentRequestException.Reason[] 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 AgentRequestException.Reason 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