com.atlassian.bamboo.plan
Class PlanStatePersisterImpl
java.lang.Object
com.atlassian.bamboo.plan.PlanStatePersisterImpl
- All Implemented Interfaces:
- PlanStatePersister
public class PlanStatePersisterImpl
- extends java.lang.Object
- implements PlanStatePersister
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlanStatePersisterImpl
public PlanStatePersisterImpl(PlanManager planManager,
BuildResultsIndexer buildResultsIndexer,
BuildResultsSummaryManager buildResultsSummaryManager,
ErrorUpdateHandler errorUpdateHandler,
BuildLoggerManager buildLoggerManager,
BuildExecutionManager buildExecutionManager,
BuildDefinitionManager buildDefinitionManager,
TestsManager testsManager)
saveFinishedBuildResult
@NotNull
public BuildContext saveFinishedBuildResult(@NotNull
BuildContext buildContext)
throws java.lang.Exception
- Description copied from interface:
PlanStatePersister
- Saves results of build represented by a BuildContext into DB in single transaction.
Updates delta states of a following build if necessary.
- Specified by:
saveFinishedBuildResult
in interface PlanStatePersister
- Parameters:
buildContext
- runtime representation of build process
- Returns:
- updated buildContext
- Throws:
java.lang.Exception
saveNotBuiltBuildResult
public void saveNotBuiltBuildResult(PlanResultKey planResultKey)
- Description copied from interface:
PlanStatePersister
- Handles results of not built job. Sets build state and updates delta states of a following build if necessary.
- Specified by:
saveNotBuiltBuildResult
in interface PlanStatePersister
persistChainState
public void persistChainState(@NotNull
ChainState chainState)
- Description copied from interface:
PlanStatePersister
- Saves the chain results. Updates delta states of a following chain result if necessary.
Does not update associated Job results.
- Specified by:
persistChainState
in interface PlanStatePersister
Copyright © 2012 Atlassian. All Rights Reserved.