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 TypeMethodDescriptionvoid
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
-
Method Details
-
requestExecution
ExecutesBuildContext
object- Parameters:
buildContext
-
-
requestStop
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
- Parameters:
planResultKey
-- Returns:
- true if request was initiated for the result.
-