public interface

PlanExecutionConfig

com.atlassian.bamboo.plan.PlanExecutionConfig
Known Indirect Subclasses

Class Overview

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

Summary

Nested Classes
enum PlanExecutionConfig.PlanExecutionType Type of repeated plan execution  
Public Methods
@NotNull PlanExecutionConfig build()
PlanExecutionConfig.PlanExecutionType getPlanExecutionType()
type of resumed plan execution
@NotNull PlanResultKey getResultToRerun()
PlanResultKey of build to start again
Set<ImmutableChainStage> getStagesToExecute()
@Nullable StageIdentifier getStartStage()
Stage where plan execution should be resumed
boolean isGoingToStopAtManualStage()
true if the first stage not scheduled for execution was manual
boolean isScheduledForExecution(String name)
PlanExecutionConfig setChain(ImmutableChain chain)
PlanExecutionConfig setChainResultSummary(ChainResultsSummary chainResultsSummary)
PlanExecutionConfig setExecuteAllStages()
PlanExecutionConfig setLatestManualStageForAutomaticExecution(String latestManualStageForAutomaticExecution)

Public Methods

@NotNull public PlanExecutionConfig build ()

public PlanExecutionConfig.PlanExecutionType getPlanExecutionType ()

type of resumed plan execution

@NotNull public PlanResultKey getResultToRerun ()

PlanResultKey of build to start again

public Set<ImmutableChainStage> getStagesToExecute ()

@Nullable public StageIdentifier getStartStage ()

Stage where plan execution should be resumed

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

public boolean isGoingToStopAtManualStage ()

true if the first stage not scheduled for execution was manual

public boolean isScheduledForExecution (String name)

public PlanExecutionConfig setChain (ImmutableChain chain)

public PlanExecutionConfig setChainResultSummary (ChainResultsSummary chainResultsSummary)

public PlanExecutionConfig setExecuteAllStages ()

public PlanExecutionConfig setLatestManualStageForAutomaticExecution (String latestManualStageForAutomaticExecution)