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