Package com.atlassian.bamboo.chains
Class JobExecutionManagerImpl
- java.lang.Object
-
- com.atlassian.bamboo.chains.JobExecutionManagerImpl
-
- All Implemented Interfaces:
JobExecutionManager
public class JobExecutionManagerImpl extends Object implements JobExecutionManager
-
-
Constructor Summary
Constructors Constructor Description JobExecutionManagerImpl(BuildExecutionManager buildExecutionManager, StopBuildManager stopBuildManager, ResultsSummaryManager resultsSummaryManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrequestExecution(@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 Detail
-
JobExecutionManagerImpl
public JobExecutionManagerImpl(BuildExecutionManager buildExecutionManager, StopBuildManager stopBuildManager, ResultsSummaryManager resultsSummaryManager)
-
-
Method Detail
-
requestExecution
public void requestExecution(@NotNull @NotNull BuildContext buildContext)Description copied from interface:JobExecutionManagerExecutesBuildContextobject- Specified by:
requestExecutionin interfaceJobExecutionManager
-
requestStop
public boolean requestStop(@NotNull @NotNull PlanResultKey planResultKey)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- Returns:
- true if request was initiated for the result.
-
-