Package com.atlassian.bamboo.chains
Interface JobExecutionManager
-
- All Known Implementing Classes:
JobExecutionManagerImpl
@Internal public interface JobExecutionManagerExecutes aBuildContextUsually used to execute the BuildContext
-
-
Method Summary
All Methods Instance Methods Abstract 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
-
-
-
Method Detail
-
requestExecution
void requestExecution(@NotNull @NotNull BuildContext buildContext)ExecutesBuildContextobject- Parameters:
buildContext-
-
requestStop
boolean requestStop(@NotNull @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- Parameters:
planResultKey-- Returns:
- true if request was initiated for the result.
-
-