com.atlassian.bamboo.build
Class DefaultStopBuildManager

java.lang.Object
  extended by com.atlassian.bamboo.build.DefaultStopBuildManager
All Implemented Interfaces:
StopBuildManager

public class DefaultStopBuildManager
extends java.lang.Object
implements StopBuildManager


Constructor Summary
DefaultStopBuildManager()
           
 
Method Summary
 void cancelBuild(java.lang.String planKey, boolean abandonResult)
           
 void setAgentCommandSender(AgentCommandSender agentCommandSender)
           
 void setBuildExecutionManager(BuildExecutionManager buildExecutionManager)
           
 void setBuildQueueManager(BuildQueueManager buildQueueManager)
           
 void setLocalAgentManager(LocalAgentManager localAgentManager)
           
 void stopAgentNicely(BuildAgent buildAgent)
          Will tell an agent to stop after it's finished the current build
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultStopBuildManager

public DefaultStopBuildManager()
Method Detail

cancelBuild

public void cancelBuild(java.lang.String planKey,
                        boolean abandonResult)
                 throws java.lang.InterruptedException
Specified by:
cancelBuild in interface StopBuildManager
Throws:
java.lang.InterruptedException

stopAgentNicely

public void stopAgentNicely(@NotNull
                            BuildAgent buildAgent)
Description copied from interface: StopBuildManager
Will tell an agent to stop after it's finished the current build

Specified by:
stopAgentNicely in interface StopBuildManager

setBuildExecutionManager

public void setBuildExecutionManager(BuildExecutionManager buildExecutionManager)

setLocalAgentManager

public void setLocalAgentManager(LocalAgentManager localAgentManager)

setBuildQueueManager

public void setBuildQueueManager(BuildQueueManager buildQueueManager)

setAgentCommandSender

public void setAgentCommandSender(AgentCommandSender agentCommandSender)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.