Package com.atlassian.bamboo.chains
Class JobExecutionManagerImpl
java.lang.Object
com.atlassian.bamboo.chains.JobExecutionManagerImpl
- All Implemented Interfaces:
JobExecutionManager
-
Constructor Summary
ConstructorsConstructorDescriptionJobExecutionManagerImpl(BuildExecutionManager buildExecutionManager, StopBuildManager stopBuildManager, ResultsSummaryManager resultsSummaryManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidrequestExecution(@NotNull BuildContext buildContext) ExecutesBuildContextobjectbooleanrequestStop(@NotNull PlanResultKey planResultKey) Stops the build represented by itsPlanResultKeyand does not abandon the result If theImmutableResultsSummary.getLifeCycleState()is notLifeCycleState.QUEUEDorLifeCycleState.IN_PROGRESSthe result will be transitioned toLifeCycleState.NOT_BUILTandBuildState.UNKNOWN
-
Constructor Details
-
JobExecutionManagerImpl
public JobExecutionManagerImpl(BuildExecutionManager buildExecutionManager, StopBuildManager stopBuildManager, ResultsSummaryManager resultsSummaryManager)
-
-
Method Details
-
requestExecution
Description copied from interface:JobExecutionManagerExecutesBuildContextobject- Specified by:
requestExecutionin interfaceJobExecutionManager- Parameters:
buildContext-
-
requestStop
Description copied from interface:JobExecutionManagerStops the build represented by itsPlanResultKeyand does not abandon the result If theImmutableResultsSummary.getLifeCycleState()is notLifeCycleState.QUEUEDorLifeCycleState.IN_PROGRESSthe result will be transitioned toLifeCycleState.NOT_BUILTandBuildState.UNKNOWN- Specified by:
requestStopin interfaceJobExecutionManager- Parameters:
planResultKey-- Returns:
- true if request was initiated for the result.
-