Package com.atlassian.bamboo.chains
Class JobExecutionManagerImpl
java.lang.Object
com.atlassian.bamboo.chains.JobExecutionManagerImpl
- All Implemented Interfaces:
JobExecutionManager
-
Constructor Summary
ConstructorDescriptionJobExecutionManagerImpl
(BuildExecutionManager buildExecutionManager, StopBuildManager stopBuildManager, ResultsSummaryManager resultsSummaryManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
requestExecution
(@NotNull BuildContext buildContext) ExecutesBuildContext
objectboolean
requestStop
(@NotNull PlanResultKey planResultKey) Stops the build represented by itsPlanResultKey
and does not abandon the result If theImmutableResultsSummary.getLifeCycleState()
is notLifeCycleState.QUEUED
orLifeCycleState.IN_PROGRESS
the result will be transitioned toLifeCycleState.NOT_BUILT
andBuildState.UNKNOWN
-
Constructor Details
-
JobExecutionManagerImpl
public JobExecutionManagerImpl(BuildExecutionManager buildExecutionManager, StopBuildManager stopBuildManager, ResultsSummaryManager resultsSummaryManager)
-
-
Method Details
-
requestExecution
Description copied from interface:JobExecutionManager
ExecutesBuildContext
object- Specified by:
requestExecution
in interfaceJobExecutionManager
-
requestStop
Description copied from interface:JobExecutionManager
Stops the build represented by itsPlanResultKey
and does not abandon the result If theImmutableResultsSummary.getLifeCycleState()
is notLifeCycleState.QUEUED
orLifeCycleState.IN_PROGRESS
the result will be transitioned toLifeCycleState.NOT_BUILT
andBuildState.UNKNOWN
- Specified by:
requestStop
in interfaceJobExecutionManager
- Returns:
- true if request was initiated for the result.
-