com.atlassian.bamboo.build
Class DefaultStopBuildManager
java.lang.Object
com.atlassian.bamboo.build.DefaultStopBuildManager
- All Implemented Interfaces:
- StopBuildManager
public class DefaultStopBuildManager
- extends java.lang.Object
- implements StopBuildManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultStopBuildManager
public DefaultStopBuildManager()
cancelAllBuilds
public void cancelAllBuilds(@NotNull
PlanKey planKey,
boolean abandonResult)
- Description copied from interface:
StopBuildManager
- Will stop all builds running for plan identified by
PlanKey
- Specified by:
cancelAllBuilds
in interface StopBuildManager
cancelBuild
public void cancelBuild(@NotNull
PlanResultKey planResultKey,
boolean abandonResult)
- Description copied from interface:
StopBuildManager
- Cancel a running build optionally abandoning the result
- Specified by:
cancelBuild
in interface StopBuildManager
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
setAgentManager
public void setAgentManager(AgentManager agentManager)
setBuildQueueManager
public void setBuildQueueManager(BuildQueueManager buildQueueManager)
setAgentCommandSender
public void setAgentCommandSender(AgentCommandSender agentCommandSender)
setEventPublisher
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
setPlanExecutionManager
public void setPlanExecutionManager(PlanExecutionManager planExecutionManager)
setScheduler
public void setScheduler(org.quartz.Scheduler scheduler)
setBuildLoggerManager
public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
setAuthenticationContext
public void setAuthenticationContext(BambooAuthenticationContext authenticationContext)
Copyright © 2012 Atlassian. All Rights Reserved.