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