Package com.atlassian.bamboo.chains
Interface JobExecutionManager
- All Known Implementing Classes:
JobExecutionManagerImpl
@Internal
public interface JobExecutionManager
Executes a
BuildContext
Usually used to execute the BuildContext-
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
-
Method Details
-
requestExecution
ExecutesBuildContextobject- Parameters:
buildContext-
-
requestStop
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- Parameters:
planResultKey-- Returns:
- true if request was initiated for the result.
-