com.atlassian.bamboo.chains
Interface JobExecutionManager

All Known Implementing Classes:
JobExecutionManagerImpl

public interface JobExecutionManager

Executes a BuildContext Usually used to execute the BuildContext


Method Summary
 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 ResultsSummary.getLifeCycleState() is not LifeCycleState.QUEUED or LifeCycleState.IN_PROGRESS the result will be transitioned to LifeCycleState.NOT_BUILT and BuildState.UNKNOWN
 

Method Detail

requestExecution

void requestExecution(@NotNull
                      BuildContext buildContext)
Executes BuildContext object

Parameters:
buildContext -

requestStop

boolean requestStop(@NotNull
                    PlanResultKey planResultKey)
Stops the build represented by its PlanResultKey and does not abandon the result If the ResultsSummary.getLifeCycleState() is not LifeCycleState.QUEUED or LifeCycleState.IN_PROGRESS the result will be transitioned to LifeCycleState.NOT_BUILT and BuildState.UNKNOWN

Parameters:
planResultKey -
Returns:
true if request was initiated for the result.


Copyright © 2011 Atlassian. All Rights Reserved.