com.atlassian.bamboo.chains
Interface ChainStateFactory

All Known Implementing Classes:
ChainStateFactoryImpl

public interface ChainStateFactory

Factory for ChainState's


Method Summary
 ChainState create(Chain chain, BuildContext buildContext, ChainStateResult chainResultState)
          Creates a ChainState
 ChainState create(Chain chain, PlanExecutionConfig planExecutionConfig, BuildContext chainBuildContext, ChainStateResult chainResultState)
          Creates a {link ChainState} for extended execution config defined as PlanExecutionConfig - continuable and restartable builds
 

Method Detail

create

@NotNull
ChainState create(@NotNull
                          Chain chain,
                          @NotNull
                          BuildContext buildContext,
                          @NotNull
                          ChainStateResult chainResultState)
Creates a ChainState

Parameters:
chain -
buildContext -
chainResultState -
Returns:
chainState

create

@NotNull
ChainState create(@NotNull
                          Chain chain,
                          @NotNull
                          PlanExecutionConfig planExecutionConfig,
                          @NotNull
                          BuildContext chainBuildContext,
                          @NotNull
                          ChainStateResult chainResultState)
Creates a {link ChainState} for extended execution config defined as PlanExecutionConfig - continuable and restartable builds

Parameters:
chain -
planExecutionConfig -
chainBuildContext -
chainResultState -
Returns:


Copyright © 2011 Atlassian. All Rights Reserved.