Package com.atlassian.bamboo.chains
Interface ChainStateFactory
-
- All Known Implementing Classes:
ChainStateFactoryImpl
public interface ChainStateFactory
Factory forChainState
's
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @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 Detail
-
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:
-
-