com.atlassian.bamboo.plan
Interface PlanExecutionConfig

All Known Implementing Classes:
PlanExecutionConfigImpl

public interface PlanExecutionConfig

Used to control plan execution taking care of manual stages and plan restart

Since:
3.2

Nested Class Summary
static class PlanExecutionConfig.PlanExecutionType
          Type of repeated plan execution
 
Method Summary
 PlanExecutionConfig build()
           
 PlanExecutionConfig.PlanExecutionType getPlanExecutionType()
          type of resumed plan execution
 PlanResultKey getResultToRerun()
          PlanResultKey of build to start again
 java.util.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(java.lang.String name)
           
 void setBranchMergePushOverride(boolean branchMergePushOverride)
           
 PlanExecutionConfig setChain(ImmutableChain chain)
           
 PlanExecutionConfig setChainResultSummary(ChainResultsSummary chainResultsSummary)
           
 PlanExecutionConfig setExecuteAllStages()
           
 PlanExecutionConfig setLatestManualStageForAutomaticExecution(java.lang.String latestManualStageForAutomaticExecution)
           
 

Method Detail

setChain

PlanExecutionConfig setChain(ImmutableChain chain)

setChainResultSummary

PlanExecutionConfig setChainResultSummary(ChainResultsSummary chainResultsSummary)

setLatestManualStageForAutomaticExecution

PlanExecutionConfig setLatestManualStageForAutomaticExecution(@Nullable
                                                              java.lang.String latestManualStageForAutomaticExecution)

setExecuteAllStages

PlanExecutionConfig setExecuteAllStages()

build

@NotNull
PlanExecutionConfig build()

isScheduledForExecution

boolean isScheduledForExecution(java.lang.String name)

getResultToRerun

@NotNull
PlanResultKey getResultToRerun()
PlanResultKey of build to start again

Returns:

getStartStage

@Nullable
StageIdentifier getStartStage()
Stage where plan execution should be resumed

Returns:
null iff restarting chain that failed after all the Jobs run successfully

getStagesToExecute

java.util.Set<ImmutableChainStage> getStagesToExecute()

getPlanExecutionType

PlanExecutionConfig.PlanExecutionType getPlanExecutionType()
type of resumed plan execution

Returns:

isGoingToStopAtManualStage

boolean isGoingToStopAtManualStage()
true if the first stage not scheduled for execution was manual

Returns:

isBranchMergePushOverride

boolean isBranchMergePushOverride()
If branch merging is enabled, if we override the push

Returns:

setBranchMergePushOverride

void setBranchMergePushOverride(boolean branchMergePushOverride)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.