com.atlassian.bamboo.plan
Class PlanExecutionConfigImpl
java.lang.Object
com.atlassian.bamboo.plan.PlanExecutionConfigImpl
- All Implemented Interfaces:
- PlanExecutionConfig
public class PlanExecutionConfigImpl
- extends Object
- implements PlanExecutionConfig
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlanExecutionConfigImpl
public PlanExecutionConfigImpl(PlanExecutionConfig.PlanExecutionType planExecutionType)
setChain
public PlanExecutionConfig setChain(ImmutableChain chain)
- Specified by:
setChain
in interface PlanExecutionConfig
setChainResultSummary
public PlanExecutionConfig setChainResultSummary(ChainResultsSummary chainResultsSummary)
- Specified by:
setChainResultSummary
in interface PlanExecutionConfig
setLatestManualStageForAutomaticExecution
public PlanExecutionConfig setLatestManualStageForAutomaticExecution(@Nullable
String latestManualStageForAutomaticExecution)
- Specified by:
setLatestManualStageForAutomaticExecution
in interface PlanExecutionConfig
setExecuteAllStages
public PlanExecutionConfig setExecuteAllStages()
- Specified by:
setExecuteAllStages
in interface PlanExecutionConfig
getStartStage
@NotNull
public StageIdentifier getStartStage()
- Description copied from interface:
PlanExecutionConfig
- Stage where plan execution should be resumed
- Specified by:
getStartStage
in interface PlanExecutionConfig
- Returns:
- null iff restarting chain that failed after all the Jobs run successfully
getPlanExecutionType
public PlanExecutionConfig.PlanExecutionType getPlanExecutionType()
- Description copied from interface:
PlanExecutionConfig
- type of resumed plan execution
- Specified by:
getPlanExecutionType
in interface PlanExecutionConfig
- Returns:
isScheduledForExecution
public boolean isScheduledForExecution(String name)
- Specified by:
isScheduledForExecution
in interface PlanExecutionConfig
getResultToRerun
@NotNull
public PlanResultKey getResultToRerun()
- Description copied from interface:
PlanExecutionConfig
PlanResultKey
of build to start again
- Specified by:
getResultToRerun
in interface PlanExecutionConfig
- Returns:
build
@NotNull
public PlanExecutionConfig build()
- Specified by:
build
in interface PlanExecutionConfig
getStagesToExecute
public Set<ImmutableChainStage> getStagesToExecute()
- Specified by:
getStagesToExecute
in interface PlanExecutionConfig
isGoingToStopAtManualStage
public boolean isGoingToStopAtManualStage()
- Description copied from interface:
PlanExecutionConfig
- true if the first stage not scheduled for execution was manual
- Specified by:
isGoingToStopAtManualStage
in interface PlanExecutionConfig
- Returns:
isBranchMergePushOverride
public boolean isBranchMergePushOverride()
- Description copied from interface:
PlanExecutionConfig
- If branch merging is enabled, if we override the push
- Specified by:
isBranchMergePushOverride
in interface PlanExecutionConfig
- Returns:
setBranchMergePushOverride
public void setBranchMergePushOverride(boolean branchMergePushOverride)
- Specified by:
setBranchMergePushOverride
in interface PlanExecutionConfig
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.