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
Modifier and TypeInterfaceDescriptionstatic enum
Type of repeated plan execution -
Method Summary
Modifier and TypeMethodDescription@NotNull PlanExecutionConfig
build()
type of resumed plan execution@NotNull PlanResultKey
PlanResultKey
of build to start again@Nullable StageIdentifier
Stage where plan execution should be resumedboolean
If branch merging is enabled, if we override the pushboolean
Executing manual stage of unsuccessful build.boolean
true if the first stage not scheduled for execution was manualboolean
boolean
boolean
If build runs in verbose modevoid
setBranchMergePushOverride
(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
PlanResultKey
of 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)
-