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)
JobExecutionManager
BuildContext
objectrequestExecution
in interface JobExecutionManager
public boolean requestStop(@NotNull PlanResultKey planResultKey)
JobExecutionManager
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
requestStop
in interface JobExecutionManager
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.