Enum Class TeamExecutionState

java.lang.Object
java.lang.Enum<TeamExecutionState>
com.oracle.database.selectai.model.agent.TeamExecutionState
All Implemented Interfaces:
Serializable, Comparable<TeamExecutionState>, Constable

Execution states supported by a Select AI Agent team.

UNKNOWN represents a state introduced by a newer database release. It allows state retrieval to remain forward-compatible while preventing an unknown state from being submitted by an execution-state request.

Since:
1.1.0
See Also:
  • Enum Constant Details

  • Method Details

    • values

      public static TeamExecutionState[] 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 TeamExecutionState 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
    • of

      public static TeamExecutionState of(String value)
      Parses a database state value.
      Parameters:
      value - database state value
      Returns:
      matching state, or UNKNOWN for a newer value
      Throws:
      IllegalArgumentException - when value is null or blank
    • getValue

      public String getValue()
      Returns the database state value.
      Returns:
      canonical database state value
    • isKnown

      public boolean isKnown()
      Indicates whether this state is supported by this SDK release.
      Returns:
      false only for UNKNOWN