Class StepRunBase.Builder

    • Method Detail

      • id

        public StepRunBase.WorkflowRunIdStage id​(@NotNull
                                                 java.lang.String id)

        The ID of the workflow step run.

        Example: "workflow_step_run_xKm9pNv3qWsY_jL2tR5Dh"

        The ID of the workflow step run.

        Example: "workflow_step_run_xKm9pNv3qWsY_jL2tR5Dh"

        Specified by:
        id in interface StepRunBase.IdStage
        Returns:
        Reference to this so that method calls can be chained together.
      • workflowRunId

        public StepRunBase.StatusStage workflowRunId​(@NotNull
                                                     java.lang.String workflowRunId)

        The ID of the parent workflow run.

        Example: "workflow_run_xKm9pNv3qWsY_jL2tR5Dh"

        The ID of the parent workflow run.

        Example: "workflow_run_xKm9pNv3qWsY_jL2tR5Dh"

        Specified by:
        workflowRunId in interface StepRunBase.WorkflowRunIdStage
        Returns:
        Reference to this so that method calls can be chained together.
      • status

        public StepRunBase._FinalStage status​(@NotNull
                                              StepRunBaseStatus status)

        The status of the workflow step run:

        • "PENDING" - The step run is waiting to be executed
        • "WAITING" - The step run is waiting for a dependency to complete
        • "PROCESSING" - The step run is currently executing
        • "PROCESSED" - The step run completed successfully
        • "FAILED" - The step run encountered an error
        • "CANCELLED" - The step run was cancelled

        The status of the workflow step run:

        • "PENDING" - The step run is waiting to be executed
        • "WAITING" - The step run is waiting for a dependency to complete
        • "PROCESSING" - The step run is currently executing
        • "PROCESSED" - The step run completed successfully
        • "FAILED" - The step run encountered an error
        • "CANCELLED" - The step run was cancelled
        Specified by:
        status in interface StepRunBase.StatusStage
        Returns:
        Reference to this so that method calls can be chained together.