ExecutionState

enum ExecutionState : Enum<ExecutionState> , ConvertibleToJava<ExecutionState>

The initial state is IN_PROGRESS. The only legal state transitions is from IN_PROGRESS to COMPLETE. A PRECONDITION_FAILED will be returned if an invalid transition is requested. The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be returned if the state is set to COMPLETE multiple times. If the state is set to COMPLETE, all the in-progress steps within the execution will be set as COMPLETE. If the outcome of the step is not set, the outcome will be set to INCONCLUSIVE. - In response always set - In create/update request: optional

Entries

Link copied to clipboard

Should never be in this state. Exists for proto deserialization backward compatibility.

Link copied to clipboard

The Execution/Step is created, ready to run, but not running yet. If an Execution/Step is created without initial state, it is assumed that the Execution/Step is in PENDING state.

Link copied to clipboard

The Execution/Step is in progress.

Link copied to clipboard

The finalized, immutable state. Steps/Executions in this state cannot be modified.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): ExecutionState
Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: ExecutionState
Link copied to clipboard
Link copied to clipboard