com.atlassian.bamboo.chains
Class JobExecutionManagerImpl

java.lang.Object
  extended by com.atlassian.bamboo.chains.JobExecutionManagerImpl
All Implemented Interfaces:
JobExecutionManager

public class JobExecutionManagerImpl
extends java.lang.Object
implements JobExecutionManager


Constructor Summary
JobExecutionManagerImpl(BuildExecutionManager buildExecutionManager, StopBuildManager stopBuildManager, ResultsSummaryManager resultsSummaryManager)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobExecutionManagerImpl

public JobExecutionManagerImpl(BuildExecutionManager buildExecutionManager,
                               StopBuildManager stopBuildManager,
                               ResultsSummaryManager resultsSummaryManager)
Method Detail

requestExecution

public void requestExecution(@NotNull
                             BuildContext buildContext)
Description copied from interface: JobExecutionManager
Executes BuildContext object

Specified by:
requestExecution in interface JobExecutionManager

requestStop

public boolean requestStop(@NotNull
                           PlanResultKey planResultKey)
Description copied from interface: JobExecutionManager
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

Specified by:
requestStop in interface JobExecutionManager
Returns:
true if request was initiated for the result.


Copyright © 2010 Atlassian. All Rights Reserved.