Package com.atlassian.bamboo.plan
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
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumType of repeated plan execution -
Method Summary
Modifier and TypeMethodDescription@NotNull PlanExecutionConfigbuild()type of resumed plan execution@NotNull PlanResultKeyPlanResultKeyof build to start again@Nullable StageIdentifierStage where plan execution should be resumedbooleanIf branch merging is enabled, if we override the pushbooleanExecuting manual stage of unsuccessful build.booleantrue if the first stage not scheduled for execution was manualbooleanbooleanbooleanIf build runs in verbose modevoidsetBranchMergePushOverride(boolean branchMergePushOverride) setChain(ImmutableChain chain) setChainResultSummary(ChainResultsSummary chainResultsSummary) setLatestManualStageForAutomaticExecution(@Nullable String latestManualStageForAutomaticExecution) setVerboseLogging(boolean verboseMode)
-
Method Details
-
setChain
-
setChainResultSummary
-
setLatestManualStageForAutomaticExecution
PlanExecutionConfig setLatestManualStageForAutomaticExecution(@Nullable @Nullable String latestManualStageForAutomaticExecution) -
setExecuteAllStages
PlanExecutionConfig setExecuteAllStages() -
build
-
isScheduledForExecution
-
getResultToRerun
PlanResultKeyof build to start again- Returns:
-
getStartStage
Stage where plan execution should be resumed- Returns:
- null iff restarting chain that failed after all the Jobs run successfully
-
getStagesToExecute
Set<ImmutableChainStage> getStagesToExecute() -
getPlanExecutionType
PlanExecutionConfig.PlanExecutionType getPlanExecutionType()type of resumed plan execution- Returns:
-
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
-
setVerboseLogging
-
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)
-