Class SplitStepRun.Builder

    • Method Detail

      • id

        public SplitStepRun.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 SplitStepRun.IdStage
        Returns:
        Reference to this so that method calls can be chained together.
      • workflowRunId

        public SplitStepRun.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 SplitStepRun.WorkflowRunIdStage
        Returns:
        Reference to this so that method calls can be chained together.
      • status

        public SplitStepRun.StepStage 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 SplitStepRun.StatusStage
        Returns:
        Reference to this so that method calls can be chained together.
      • result

        public SplitStepRun._FinalStage result​(Nullable<SplitResult> result)

        The result of this split step. Currently, result is always present for returned step runs. It is nullable to allow for future support of returning step runs with non-successful statuses.

        Specified by:
        result in interface SplitStepRun._FinalStage
        Returns:
        Reference to this so that method calls can be chained together.
      • result

        public SplitStepRun._FinalStage result​(SplitResult result)

        The result of this split step. Currently, result is always present for returned step runs. It is nullable to allow for future support of returning step runs with non-successful statuses.

        Specified by:
        result in interface SplitStepRun._FinalStage
        Returns:
        Reference to this so that method calls can be chained together.
      • result

        public SplitStepRun._FinalStage result​(java.util.Optional<SplitResult> result)

        The result of this split step. Currently, result is always present for returned step runs. It is nullable to allow for future support of returning step runs with non-successful statuses.

        Specified by:
        result in interface SplitStepRun._FinalStage