com.atlassian.bamboo.plan
Class PlanExecutionConfigImpl

java.lang.Object
  extended by com.atlassian.bamboo.plan.PlanExecutionConfigImpl
All Implemented Interfaces:
PlanExecutionConfig

public class PlanExecutionConfigImpl
extends java.lang.Object
implements PlanExecutionConfig


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.bamboo.plan.PlanExecutionConfig
PlanExecutionConfig.PlanExecutionType
 
Constructor Summary
PlanExecutionConfigImpl(PlanExecutionConfig.PlanExecutionType planExecutionType)
           
 
Method Summary
 PlanExecutionConfig build()
           
 PlanExecutionConfig.PlanExecutionType getPlanExecutionType()
          type of resumed plan execution
 PlanResultKey getResultToRerun()
          PlanResultKey of build to start again
 java.util.Set<ChainStage> getStagesToExecute()
           
 StageIdentifier getStartStage()
          stage where plan execution should be resumed
 boolean isGoingToStopAtManualStage()
          true if the first stage not scheduled for execution was manual
 boolean isScheduledForExecution(java.lang.String name)
           
 PlanExecutionConfig setChain(Chain chain)
           
 PlanExecutionConfig setChainResultSummary(ChainResultsSummary chainResultsSummary)
           
 PlanExecutionConfig setExecuteAllStages()
           
 PlanExecutionConfig setLatestManualStageForAutomaticExecution(java.lang.String latestManualStageForAutomaticExecution)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlanExecutionConfigImpl

public PlanExecutionConfigImpl(PlanExecutionConfig.PlanExecutionType planExecutionType)
Method Detail

setChain

public PlanExecutionConfig setChain(Chain chain)
Specified by:
setChain in interface PlanExecutionConfig

setChainResultSummary

public PlanExecutionConfig setChainResultSummary(ChainResultsSummary chainResultsSummary)
Specified by:
setChainResultSummary in interface PlanExecutionConfig

setLatestManualStageForAutomaticExecution

public PlanExecutionConfig setLatestManualStageForAutomaticExecution(@Nullable
                                                                     java.lang.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:

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(java.lang.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 java.util.Set<ChainStage> 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:


Copyright © 2011 Atlassian. All Rights Reserved.