public class PlanExecutionConfigImpl extends Object implements PlanExecutionConfig
PlanExecutionConfig.PlanExecutionType
Constructor and Description |
---|
PlanExecutionConfigImpl(PlanExecutionConfig.PlanExecutionType planExecutionType) |
Modifier and Type | Method and Description |
---|---|
PlanExecutionConfig |
build() |
PlanExecutionConfig.PlanExecutionType |
getPlanExecutionType()
type of resumed plan execution
|
PlanResultKey |
getResultToRerun()
PlanResultKey of build to start again |
Set<ImmutableChainStage> |
getStagesToExecute() |
StageIdentifier |
getStartStage()
Stage where plan execution should be resumed
|
boolean |
isBranchMergePushOverride()
If branch merging is enabled, if we override the push
|
boolean |
isGoingToStopAtManualStage()
true if the first stage not scheduled for execution was manual
|
boolean |
isScheduledForExecution(String name) |
void |
setBranchMergePushOverride(boolean branchMergePushOverride) |
PlanExecutionConfig |
setChain(ImmutableChain chain) |
PlanExecutionConfig |
setChainResultSummary(ChainResultsSummary chainResultsSummary) |
PlanExecutionConfig |
setExecuteAllStages() |
PlanExecutionConfig |
setLatestManualStageForAutomaticExecution(String latestManualStageForAutomaticExecution) |
public PlanExecutionConfigImpl(PlanExecutionConfig.PlanExecutionType planExecutionType)
public PlanExecutionConfig setChain(ImmutableChain chain)
setChain
in interface PlanExecutionConfig
public PlanExecutionConfig setChainResultSummary(ChainResultsSummary chainResultsSummary)
setChainResultSummary
in interface PlanExecutionConfig
public PlanExecutionConfig setLatestManualStageForAutomaticExecution(@Nullable String latestManualStageForAutomaticExecution)
setLatestManualStageForAutomaticExecution
in interface PlanExecutionConfig
public PlanExecutionConfig setExecuteAllStages()
setExecuteAllStages
in interface PlanExecutionConfig
@NotNull public StageIdentifier getStartStage()
PlanExecutionConfig
getStartStage
in interface PlanExecutionConfig
public PlanExecutionConfig.PlanExecutionType getPlanExecutionType()
PlanExecutionConfig
getPlanExecutionType
in interface PlanExecutionConfig
public boolean isScheduledForExecution(String name)
isScheduledForExecution
in interface PlanExecutionConfig
@NotNull public PlanResultKey getResultToRerun()
PlanExecutionConfig
PlanResultKey
of build to start againgetResultToRerun
in interface PlanExecutionConfig
@NotNull public PlanExecutionConfig build()
build
in interface PlanExecutionConfig
public Set<ImmutableChainStage> getStagesToExecute()
getStagesToExecute
in interface PlanExecutionConfig
public boolean isGoingToStopAtManualStage()
PlanExecutionConfig
isGoingToStopAtManualStage
in interface PlanExecutionConfig
public boolean isBranchMergePushOverride()
PlanExecutionConfig
isBranchMergePushOverride
in interface PlanExecutionConfig
public void setBranchMergePushOverride(boolean branchMergePushOverride)
setBranchMergePushOverride
in interface PlanExecutionConfig
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.