Package com.atlassian.bamboo.plan
Class PlanStatePersisterServiceImpl
java.lang.Object
com.atlassian.bamboo.plan.PlanStatePersisterServiceImpl
- All Implemented Interfaces:
PlanStatePersisterService
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
PlanStatePersisterServiceImpl
public PlanStatePersisterServiceImpl()
-
-
Method Details
-
saveFinishedBuildResult
@NotNull public @NotNull BuildContext saveFinishedBuildResult(@NotNull @NotNull BuildContext buildContext) throws Exception Description copied from interface:PlanStatePersisterServiceSaves results of a finished build represented by a BuildContext- Specified by:
saveFinishedBuildResultin interfacePlanStatePersisterService- Parameters:
buildContext- runtime representation of build process- Returns:
- updated buildContext
- Throws:
Exception
-
saveNotBuiltBuildResult
public void saveNotBuiltBuildResult(@NotNull @NotNull PlanResultKey planResultKey, boolean updateFollowingBuilds) Description copied from interface:PlanStatePersisterServiceSaves results of not build results identified by PlanResultKey. Updates delta information of the following build if applicable.- Specified by:
saveNotBuiltBuildResultin interfacePlanStatePersisterService- Parameters:
planResultKey-updateFollowingBuilds-
-
persistChainState
Description copied from interface:PlanStatePersisterServiceSaves the chain results. Updates state of waiting jobs to NOT_BUILT.- Specified by:
persistChainStatein interfacePlanStatePersisterService- Parameters:
chainState-
-