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
ConstructorsConstructorDescriptionPlanExecutionConfigImpl(PlanExecutionConfig.PlanExecutionType planExecutionType) -
Method Summary
Modifier and TypeMethodDescription@NotNull PlanExecutionConfigbuild()type of resumed plan execution@NotNull PlanResultKeyPlanResultKeyof build to start again@NotNull 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 manualbooleanisScheduledForExecution(String stageName) booleanbooleanIf build runs in verbose modevoidsetBranchMergePushOverride(boolean branchMergePushOverride) setChain(ImmutableChain chain) setChainResultSummary(ChainResultsSummary chainResultsSummary) setLatestManualStageForAutomaticExecution(@Nullable String latestManualStageForAutomaticExecution) setVerboseLogging(boolean verboseMode)
-
Constructor Details
-
PlanExecutionConfigImpl
-
-
Method Details
-
setChain
- Specified by:
setChainin interfacePlanExecutionConfig
-
setChainResultSummary
- Specified by:
setChainResultSummaryin interfacePlanExecutionConfig
-
setLatestManualStageForAutomaticExecution
public PlanExecutionConfig setLatestManualStageForAutomaticExecution(@Nullable @Nullable String latestManualStageForAutomaticExecution) - Specified by:
setLatestManualStageForAutomaticExecutionin interfacePlanExecutionConfig
-
setExecuteAllStages
- Specified by:
setExecuteAllStagesin interfacePlanExecutionConfig
-
getStartStage
Description copied from interface:PlanExecutionConfigStage where plan execution should be resumed- Specified by:
getStartStagein interfacePlanExecutionConfig- Returns:
- null iff restarting chain that failed after all the Jobs run successfully
-
getPlanExecutionType
Description copied from interface:PlanExecutionConfigtype of resumed plan execution- Specified by:
getPlanExecutionTypein interfacePlanExecutionConfig- Returns:
-
isScheduledForExecution
- Specified by:
isScheduledForExecutionin interfacePlanExecutionConfig
-
getResultToRerun
Description copied from interface:PlanExecutionConfigPlanResultKeyof build to start again- Specified by:
getResultToRerunin interfacePlanExecutionConfig- Returns:
-
build
- Specified by:
buildin interfacePlanExecutionConfig
-
getStagesToExecute
- Specified by:
getStagesToExecutein interfacePlanExecutionConfig
-
isGoingToStopAtManualStage
public boolean isGoingToStopAtManualStage()Description copied from interface:PlanExecutionConfigtrue if the first stage not scheduled for execution was manual- Specified by:
isGoingToStopAtManualStagein interfacePlanExecutionConfig- Returns:
-
isStageToStopFinal
public boolean isStageToStopFinal()- Specified by:
isStageToStopFinalin interfacePlanExecutionConfig
-
isBranchMergePushOverride
public boolean isBranchMergePushOverride()Description copied from interface:PlanExecutionConfigIf branch merging is enabled, if we override the push- Specified by:
isBranchMergePushOverridein interfacePlanExecutionConfig- Returns:
-
isContinueFromFailed
public boolean isContinueFromFailed()Description copied from interface:PlanExecutionConfigExecuting manual stage of unsuccessful build. Only possible when manual stage is also a final stage.- Specified by:
isContinueFromFailedin interfacePlanExecutionConfig- Returns:
-
setBranchMergePushOverride
public void setBranchMergePushOverride(boolean branchMergePushOverride) - Specified by:
setBranchMergePushOverridein interfacePlanExecutionConfig
-
isVerboseLoggingOn
public boolean isVerboseLoggingOn()Description copied from interface:PlanExecutionConfigIf build runs in verbose mode- Specified by:
isVerboseLoggingOnin interfacePlanExecutionConfig
-
setVerboseLogging
- Specified by:
setVerboseLoggingin interfacePlanExecutionConfig
-