Package io.jmix.dynmodelai
Enum Class AgentRequestException.Reason
- All Implemented Interfaces:
Serializable,Comparable<AgentRequestException.Reason>,Constable
- Enclosing class:
AgentRequestException
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSome events after the requested sequence have already been removed.The question is unknown, closed, already answered, or an answer is being submitted.Run or Draft state prevents starting, continuing, or approving the requested Run.The Run is unknown, no longer retained, or belongs to another Conversation. -
Method Summary
Modifier and TypeMethodDescriptionstatic AgentRequestException.ReasonReturns the enum constant of this class with the specified name.static AgentRequestException.Reason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RUN_UNAVAILABLE
The Run is unknown, no longer retained, or belongs to another Conversation. -
RUN_STATE_CONFLICT
Run or Draft state prevents starting, continuing, or approving the requested Run. -
HUMAN_INPUT_UNAVAILABLE
The question is unknown, closed, already answered, or an answer is being submitted. -
EVENT_HISTORY_UNAVAILABLE
Some events after the requested sequence have already been removed.
-
-
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
-