com.atlassian.bamboo.chains
Interface ChainStateFactory

All Known Implementing Classes:
ChainStateFactoryImpl

public interface ChainStateFactory

Factory for ChainState's


Method Summary
 ChainState create(PlanIdentifier chain, BuildContext buildContext, ChainStateResult chainResultState)
          Creates a ChainState
 ChainState create(PlanIdentifier 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
                          PlanIdentifier chain,
                          @NotNull
                          BuildContext buildContext,
                          @NotNull
                          ChainStateResult chainResultState)
Creates a ChainState

Parameters:
chain -
buildContext -
chainResultState -
Returns:
chainState

create

@NotNull
ChainState create(@NotNull
                          PlanIdentifier chain,
                          @Nullable
                          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 © 2012 Atlassian. All Rights Reserved.