Interface PlanExecutionConfig

  • All Known Implementing Classes:
    PlanExecutionConfigImpl

    @Internal
    public interface PlanExecutionConfig
    Used to control plan execution taking care of manual stages and plan restart
    Since:
    3.2
    • Method Detail

      • setLatestManualStageForAutomaticExecution

        PlanExecutionConfig setLatestManualStageForAutomaticExecution​(@Nullable
                                                                      @Nullable String latestManualStageForAutomaticExecution)
      • isScheduledForExecution

        boolean isScheduledForExecution​(String name)
      • getStartStage

        @Nullable
        @Nullable StageIdentifier getStartStage()
        Stage where plan execution should be resumed
        Returns:
        null iff restarting chain that failed after all the Jobs run successfully
      • isGoingToStopAtManualStage

        boolean isGoingToStopAtManualStage()
        true if the first stage not scheduled for execution was manual
        Returns:
      • isStageToStopFinal

        boolean isStageToStopFinal()
      • isBranchMergePushOverride

        boolean isBranchMergePushOverride()
        If branch merging is enabled, if we override the push
        Returns:
      • isVerboseLoggingOn

        boolean isVerboseLoggingOn()
        If build runs in verbose mode
        Since:
        7.2
      • isContinueFromFailed

        boolean isContinueFromFailed()
        Executing manual stage of unsuccessful build. Only possible when manual stage is also a final stage.
        Returns:
      • setBranchMergePushOverride

        void setBranchMergePushOverride​(boolean branchMergePushOverride)