Package com.atlassian.bamboo.chains
Interface ChainStateFactory
- All Known Implementing Classes:
ChainStateFactoryImpl
public interface ChainStateFactory
Factory for
ChainState
's-
Method Summary
Modifier and TypeMethodDescription@NotNull ChainState
create
(@NotNull PlanIdentifier chain, @NotNull BuildContext buildContext, @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
-
Method Details
-
create
@NotNull @NotNull ChainState create(@NotNull @NotNull PlanIdentifier chain, @NotNull @NotNull BuildContext buildContext, @NotNull @NotNull ChainStateResult chainResultState) Creates aChainState
- Parameters:
chain
-buildContext
-chainResultState
-- Returns:
- chainState
-
create
@NotNull @NotNull ChainState create(@NotNull @NotNull PlanIdentifier chain, @Nullable @Nullable PlanExecutionConfig planExecutionConfig, @NotNull @NotNull BuildContext chainBuildContext, @NotNull @NotNull ChainStateResult chainResultState) Creates a {link ChainState} for extended execution config defined asPlanExecutionConfig
- continuable and restartable builds- Parameters:
chain
-planExecutionConfig
-chainBuildContext
-chainResultState
-- Returns:
-