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 Classes Modifier and Type Interface Description static class
PlanExecutionConfig.PlanExecutionType
Type of repeated plan execution
-
Method Summary
-
-
-
Method Detail
-
setChain
PlanExecutionConfig setChain(ImmutableChain chain)
-
setChainResultSummary
PlanExecutionConfig setChainResultSummary(ChainResultsSummary chainResultsSummary)
-
setLatestManualStageForAutomaticExecution
PlanExecutionConfig setLatestManualStageForAutomaticExecution(@Nullable @Nullable String latestManualStageForAutomaticExecution)
-
setExecuteAllStages
PlanExecutionConfig setExecuteAllStages()
-
build
@NotNull @NotNull PlanExecutionConfig build()
-
isScheduledForExecution
boolean isScheduledForExecution(String name)
-
getResultToRerun
@NotNull @NotNull PlanResultKey getResultToRerun()
PlanResultKey
of build to start again- Returns:
-
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
-
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
PlanExecutionConfig setVerboseLogging(boolean verboseMode)
-
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)
-
-