Package io.jmix.dynmodelai.session
Enum Class AgentRunTransition
- All Implemented Interfaces:
Serializable,Comparable<AgentRunTransition>,Constable
Allowed run-state transitions and the condition already checked by the coordinator.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic AgentRunTransitionrequire(AgentRunState from, AgentRunTransition.Condition condition) to()static AgentRunTransitionReturns the enum constant of this class with the specified name.static AgentRunTransition[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ANSWERED
-
OUT_OF_SCOPE
-
PLAN_VALIDATED
-
INPUT_REQUIRED
-
PLANNING_TIMED_OUT
-
PLANNING_FAILED
-
PLAN_APPROVED
-
APPROVAL_FAILED
-
APPROVAL_REQUESTED
-
WORKSPACE_PREPARED
-
PREPARATION_FAILED
-
PREPARATION_CANCELLED
-
EXECUTION_SUCCEEDED
-
EXECUTION_FAILED
-
PLANNING_CANCELLED
-
APPROVAL_CANCELLED
-
EXECUTION_CANCELLED
-
-
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
-
to
-
require
public static AgentRunTransition require(AgentRunState from, AgentRunTransition.Condition condition)
-