Package com.atlassian.bamboo.plan
Interface PlanStatePersisterService
- All Known Implementing Classes:
PlanStatePersisterServiceImpl
public interface PlanStatePersisterService
A wrapper to PlanStatePersister providing plan-level locking for operations affecting ResultSummaries.
-
Method Summary
Modifier and TypeMethodDescriptionvoidpersistChainState(@NotNull ChainState chainState) Saves the chain results.@NotNull BuildContextsaveFinishedBuildResult(@NotNull BuildContext buildContext) Saves results of a finished build represented by a BuildContextvoidsaveNotBuiltBuildResult(@NotNull PlanResultKey planResultKey, boolean updateFollowingBuilds) Saves results of not build results identified by PlanResultKey.
-
Method Details
-
saveFinishedBuildResult
@NotNull @NotNull BuildContext saveFinishedBuildResult(@NotNull @NotNull BuildContext buildContext) throws Exception Saves results of a finished build represented by a BuildContext- Parameters:
buildContext- runtime representation of build process- Returns:
- updated buildContext
- Throws:
Exception
-
saveNotBuiltBuildResult
void saveNotBuiltBuildResult(@NotNull @NotNull PlanResultKey planResultKey, boolean updateFollowingBuilds) Saves results of not build results identified by PlanResultKey. Updates delta information of the following build if applicable.- Parameters:
planResultKey-updateFollowingBuilds-- Throws:
Exception
-
persistChainState
Saves the chain results. Updates state of waiting jobs to NOT_BUILT.- Parameters:
chainState-
-