Class ParseStepRun.Builder

    • Method Detail

      • id

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

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

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

        public ParseStepRun._FinalStage result​(Nullable<ParseResult> result)

        The result of this parse 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 ParseStepRun._FinalStage
        Returns:
        Reference to this so that method calls can be chained together.
      • result

        public ParseStepRun._FinalStage result​(ParseResult result)

        The result of this parse 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 ParseStepRun._FinalStage
        Returns:
        Reference to this so that method calls can be chained together.
      • result

        public ParseStepRun._FinalStage result​(java.util.Optional<ParseResult> result)

        The result of this parse 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 ParseStepRun._FinalStage