public class JobExecutionManagerImpl extends Object implements JobExecutionManager
| Constructor and Description |
|---|
JobExecutionManagerImpl(BuildExecutionManager buildExecutionManager,
StopBuildManager stopBuildManager,
ResultsSummaryManager resultsSummaryManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
requestExecution(BuildContext buildContext)
Executes
BuildContext object |
boolean |
requestStop(PlanResultKey planResultKey)
Stops the build represented by its
PlanResultKey and does not abandon the result
If the ImmutableResultsSummary.getLifeCycleState() is not LifeCycleState.QUEUED or LifeCycleState.IN_PROGRESS
the result will be transitioned to LifeCycleState.NOT_BUILT and BuildState.UNKNOWN |
public JobExecutionManagerImpl(BuildExecutionManager buildExecutionManager, StopBuildManager stopBuildManager, ResultsSummaryManager resultsSummaryManager)
public void requestExecution(@NotNull
BuildContext buildContext)
JobExecutionManagerBuildContext objectrequestExecution in interface JobExecutionManagerpublic boolean requestStop(@NotNull
PlanResultKey planResultKey)
JobExecutionManagerPlanResultKey and does not abandon the result
If the ImmutableResultsSummary.getLifeCycleState() is not LifeCycleState.QUEUED or LifeCycleState.IN_PROGRESS
the result will be transitioned to LifeCycleState.NOT_BUILT and BuildState.UNKNOWNrequestStop in interface JobExecutionManagerCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.