Package com.atlassian.bamboo.plan
Class PlanExecutionConfigImpl
java.lang.Object
com.atlassian.bamboo.plan.PlanExecutionConfigImpl
- All Implemented Interfaces:
PlanExecutionConfig
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.plan.PlanExecutionConfig
PlanExecutionConfig.PlanExecutionType
-
Constructor Summary
ConstructorDescriptionPlanExecutionConfigImpl
(PlanExecutionConfig.PlanExecutionType planExecutionType) -
Method Summary
Modifier and TypeMethodDescription@NotNull PlanExecutionConfig
build()
type of resumed plan execution@NotNull PlanResultKey
PlanResultKey
of build to start again@NotNull 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
isScheduledForExecution
(String stageName) boolean
boolean
If build runs in verbose modevoid
setBranchMergePushOverride
(boolean branchMergePushOverride) setChain
(ImmutableChain chain) setChainResultSummary
(ChainResultsSummary chainResultsSummary) setLatestManualStageForAutomaticExecution
(@Nullable String latestManualStageForAutomaticExecution) setVerboseLogging
(boolean verboseMode)
-
Constructor Details
-
PlanExecutionConfigImpl
-
-
Method Details
-
setChain
- Specified by:
setChain
in interfacePlanExecutionConfig
-
setChainResultSummary
- Specified by:
setChainResultSummary
in interfacePlanExecutionConfig
-
setLatestManualStageForAutomaticExecution
public PlanExecutionConfig setLatestManualStageForAutomaticExecution(@Nullable @Nullable String latestManualStageForAutomaticExecution) - Specified by:
setLatestManualStageForAutomaticExecution
in interfacePlanExecutionConfig
-
setExecuteAllStages
- Specified by:
setExecuteAllStages
in interfacePlanExecutionConfig
-
getStartStage
Description copied from interface:PlanExecutionConfig
Stage where plan execution should be resumed- Specified by:
getStartStage
in interfacePlanExecutionConfig
- Returns:
- null iff restarting chain that failed after all the Jobs run successfully
-
getPlanExecutionType
Description copied from interface:PlanExecutionConfig
type of resumed plan execution- Specified by:
getPlanExecutionType
in interfacePlanExecutionConfig
- Returns:
-
isScheduledForExecution
- Specified by:
isScheduledForExecution
in interfacePlanExecutionConfig
-
getResultToRerun
Description copied from interface:PlanExecutionConfig
PlanResultKey
of build to start again- Specified by:
getResultToRerun
in interfacePlanExecutionConfig
- Returns:
-
build
- Specified by:
build
in interfacePlanExecutionConfig
-
getStagesToExecute
- Specified by:
getStagesToExecute
in interfacePlanExecutionConfig
-
isGoingToStopAtManualStage
public boolean isGoingToStopAtManualStage()Description copied from interface:PlanExecutionConfig
true if the first stage not scheduled for execution was manual- Specified by:
isGoingToStopAtManualStage
in interfacePlanExecutionConfig
- Returns:
-
isStageToStopFinal
public boolean isStageToStopFinal()- Specified by:
isStageToStopFinal
in interfacePlanExecutionConfig
-
isBranchMergePushOverride
public boolean isBranchMergePushOverride()Description copied from interface:PlanExecutionConfig
If branch merging is enabled, if we override the push- Specified by:
isBranchMergePushOverride
in interfacePlanExecutionConfig
- Returns:
-
isContinueFromFailed
public boolean isContinueFromFailed()Description copied from interface:PlanExecutionConfig
Executing manual stage of unsuccessful build. Only possible when manual stage is also a final stage.- Specified by:
isContinueFromFailed
in interfacePlanExecutionConfig
- Returns:
-
setBranchMergePushOverride
public void setBranchMergePushOverride(boolean branchMergePushOverride) - Specified by:
setBranchMergePushOverride
in interfacePlanExecutionConfig
-
isVerboseLoggingOn
public boolean isVerboseLoggingOn()Description copied from interface:PlanExecutionConfig
If build runs in verbose mode- Specified by:
isVerboseLoggingOn
in interfacePlanExecutionConfig
-
setVerboseLogging
- Specified by:
setVerboseLogging
in interfacePlanExecutionConfig
-