Interface StageExecution


  • @PublicApi
    public interface StageExecution
    Represents a ChainStage executing within a Chain
    • Method Detail

      • getStageIndex

        int getStageIndex()
        Index of the ChainStage within the current Chain
        Returns:
        0-based index of the stage
      • getName

        @NotNull
        @NotNull String getName()
        Gets the name of the Stage
        Returns:
        name
      • getDescription

        @Nullable
        @Nullable String getDescription()
        Gets the description of the Stage
        Returns:
        description
      • isBuilding

        boolean isBuilding()
        If the Stage is building or not
        Returns:
        building
      • isCompleted

        boolean isCompleted()
        If the Stage has completed or not
        Returns:
        completed
      • isSuccessful

        boolean isSuccessful()
        If the Stage is successful or not
        Returns:
        successful
      • getExecutionContext

        @NotNull
        @NotNull ExecutionContext getExecutionContext()
        Stores contextual data for the current StageExecution
        Returns:
        executionContext