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
 void persistChainState(ChainState chainState)
          Saves the chain results.
 BuildContext saveFinishedBuildResult(BuildContext buildContext)
          Saves results of a finished build represented by a BuildContext
 void saveNotBuiltBuildResult(PlanResultKey planResultKey)
          Saves results of not build results identified by PlanResultKey.
 

Method Detail

saveFinishedBuildResult

@NotNull
BuildContext saveFinishedBuildResult(@NotNull
                                             BuildContext buildContext)
                                     throws java.lang.Exception
Saves results of a finished build represented by a BuildContext

Parameters:
buildContext - runtime representation of build process
Returns:
updated buildContext
Throws:
java.lang.Exception

saveNotBuiltBuildResult

void saveNotBuiltBuildResult(@NotNull
                             PlanResultKey planResultKey)
Saves results of not build results identified by PlanResultKey. Updates delta information of the following build if applicable.

Parameters:
planResultKey -
Throws:
java.lang.Exception

persistChainState

void persistChainState(@NotNull
                       ChainState chainState)
Saves the chain results. Updates state of waiting jobs to NOT_BUILT.

Parameters:
chainState -


Copyright © 2011 Atlassian. All Rights Reserved.