Package com.atlassian.bamboo.plan
Class PlanStatePersisterServiceImpl
- java.lang.Object
-
- com.atlassian.bamboo.plan.PlanStatePersisterServiceImpl
-
- All Implemented Interfaces:
PlanStatePersisterService
public class PlanStatePersisterServiceImpl extends Object implements PlanStatePersisterService
-
-
Constructor Summary
Constructors Constructor Description PlanStatePersisterServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
persistChainState(@NotNull ChainState chainState)
Saves the chain results.@NotNull BuildContext
saveFinishedBuildResult(@NotNull BuildContext buildContext)
Saves results of a finished build represented by a BuildContextvoid
saveNotBuiltBuildResult(@NotNull PlanResultKey planResultKey, boolean updateFollowingBuilds)
Saves results of not build results identified by PlanResultKey.
-
-
-
Method Detail
-
saveFinishedBuildResult
@NotNull public @NotNull BuildContext saveFinishedBuildResult(@NotNull @NotNull BuildContext buildContext) throws Exception
Description copied from interface:PlanStatePersisterService
Saves results of a finished build represented by a BuildContext- Specified by:
saveFinishedBuildResult
in 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:PlanStatePersisterService
Saves results of not build results identified by PlanResultKey. Updates delta information of the following build if applicable.- Specified by:
saveNotBuiltBuildResult
in interfacePlanStatePersisterService
-
persistChainState
public void persistChainState(@NotNull @NotNull ChainState chainState)
Description copied from interface:PlanStatePersisterService
Saves the chain results. Updates state of waiting jobs to NOT_BUILT.- Specified by:
persistChainState
in interfacePlanStatePersisterService
-
-