com.atlassian.bamboo.chains
Class ChainStateFactoryImpl

java.lang.Object
  extended by com.atlassian.bamboo.chains.ChainStateFactoryImpl
All Implemented Interfaces:
ChainStateFactory

public class ChainStateFactoryImpl
extends java.lang.Object
implements ChainStateFactory


Constructor Summary
ChainStateFactoryImpl(PlanVcsRevisionHistoryService planVcsRevisionHistoryService, ChainResultManager chainResultManager)
           
 
Method Summary
 ChainState create(PlanIdentifier chain, BuildContext chainBuildContext, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChainStateFactoryImpl

public ChainStateFactoryImpl(PlanVcsRevisionHistoryService planVcsRevisionHistoryService,
                             ChainResultManager chainResultManager)
Method Detail

create

@NotNull
public ChainState create(@NotNull
                                 PlanIdentifier chain,
                                 @NotNull
                                 BuildContext chainBuildContext,
                                 @NotNull
                                 ChainStateResult chainResultState)
Description copied from interface: ChainStateFactory
Creates a ChainState

Specified by:
create in interface ChainStateFactory
Returns:
chainState

create

@NotNull
public ChainState create(@NotNull
                                 PlanIdentifier chain,
                                 @Nullable
                                 PlanExecutionConfig planExecutionConfig,
                                 @NotNull
                                 BuildContext chainBuildContext,
                                 @NotNull
                                 ChainStateResult chainResultState)
Description copied from interface: ChainStateFactory
Creates a {link ChainState} for extended execution config defined as PlanExecutionConfig - continuable and restartable builds

Specified by:
create in interface ChainStateFactory
Returns:


Copyright © 2012 Atlassian. All Rights Reserved.