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 void
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 Detail
-
JobExecutionManagerImpl
public JobExecutionManagerImpl(BuildExecutionManager buildExecutionManager, StopBuildManager stopBuildManager, ResultsSummaryManager resultsSummaryManager)
-
-
Method Detail
-
requestExecution
public void requestExecution(@NotNull @NotNull BuildContext buildContext)
Description copied from interface:JobExecutionManager
ExecutesBuildContext
object- Specified by:
requestExecution
in interfaceJobExecutionManager
-
requestStop
public boolean requestStop(@NotNull @NotNull PlanResultKey planResultKey)
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.
-
-