Interface PipelineExecution


  • public interface PipelineExecution
    A Pipeline Execution representation - an instance of a Pipeline run.
    • Method Detail

      • getId

        @NotNull
        @NotNull String getId()
        The id of this execution.
        Returns:
        the id
      • getProgramId

        @NotNull
        @NotNull String getProgramId()
        The id of the associated program context.
        Returns:
        the program id
      • getPipelineId

        @NotNull
        @NotNull String getPipelineId()
        The id of the associated pipeline context.
        Returns:
        the pipeline id
      • getStatusState

        @NotNull
        @NotNull PipelineExecution.Status getStatusState()
        The current status of the execution.
        Returns:
        the status
      • getStep

        @NotNull
        @NotNull PipelineExecutionStepState getStep​(@NotNull
                                                    @NotNull StepAction action)
                                             throws CloudManagerApiException
        Get the specified action step.

        Note: This does not check the current remote state. It only checks the state of this object. To check current state, retrieve a new PipelineExecution instance.

        Parameters:
        action - the step state action (see StepAction)
        Returns:
        the step state details
        Throws:
        CloudManagerApiException - when any error occurs
      • getCurrentStep

        @NotNull
        @NotNull PipelineExecutionStepState getCurrentStep()
                                                    throws CloudManagerApiException
        Get the current/active step.

        Note: This does not check the current remote state. It only checks the state of this object. To check current state, retrieve a new PipelineExecution instance.

        Returns:
        the current step
        Throws:
        CloudManagerApiException - when any error occurs
      • isRunning

        boolean isRunning()
        Check if this execution is currently running.

        Note: This does not check the current remote state. It only checks the state of this object. To check current state, retrieve a new PipelineExecution instance.

        Returns:
        true if this execution is running, false otherwise