Package com.atlassian.bamboo.chains
Class ChainStateFactoryImpl
java.lang.Object
com.atlassian.bamboo.chains.ChainStateFactoryImpl
- All Implemented Interfaces:
ChainStateFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull ChainState
create
(@NotNull PlanIdentifier chain, @NotNull BuildContext chainBuildContext, @NotNull ChainStateResult chainResultState) Creates aChainState
@NotNull ChainState
create
(@NotNull PlanIdentifier chain, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull BuildContext chainBuildContext, @NotNull ChainStateResult chainResultState) Creates a {link ChainState} for extended execution config defined asPlanExecutionConfig
- continuable and restartable builds
-
Constructor Details
-
ChainStateFactoryImpl
public ChainStateFactoryImpl()
-
-
Method Details
-
create
@NotNull public @NotNull ChainState create(@NotNull @NotNull PlanIdentifier chain, @NotNull @NotNull BuildContext chainBuildContext, @NotNull @NotNull ChainStateResult chainResultState) Description copied from interface:ChainStateFactory
Creates aChainState
- Specified by:
create
in interfaceChainStateFactory
- Returns:
- chainState
-
create
@NotNull public @NotNull ChainState create(@NotNull @NotNull PlanIdentifier chain, @Nullable @Nullable PlanExecutionConfig planExecutionConfig, @NotNull @NotNull BuildContext chainBuildContext, @NotNull @NotNull ChainStateResult chainResultState) Description copied from interface:ChainStateFactory
Creates a {link ChainState} for extended execution config defined asPlanExecutionConfig
- continuable and restartable builds- Specified by:
create
in interfaceChainStateFactory
- Returns:
-