com.atlassian.bamboo.build
Interface StopBuildManager

All Known Implementing Classes:
DefaultStopBuildManager

public interface StopBuildManager


Method Summary
 void cancelAllBuilds(PlanKey planKey, boolean abandonResult)
          Will stop all builds running for plan identified by PlanKey
 void cancelBuild(PlanResultKey planResultKey, boolean abandonResult)
          Cancel a running build optionally abandoning the result
 void stopAgentNicely(BuildAgent buildAgent)
          Will tell an agent to stop after it's finished the current build
 

Method Detail

cancelBuild

void cancelBuild(@NotNull
                 PlanResultKey planResultKey,
                 boolean abandonResult)
Cancel a running build optionally abandoning the result

Parameters:
planResultKey -
abandonResult -
Throws:
java.lang.InterruptedException

stopAgentNicely

void stopAgentNicely(@NotNull
                     BuildAgent buildAgent)
Will tell an agent to stop after it's finished the current build

Parameters:
buildAgent -

cancelAllBuilds

void cancelAllBuilds(@NotNull
                     PlanKey planKey,
                     boolean abandonResult)
                     throws java.lang.InterruptedException
Will stop all builds running for plan identified by PlanKey

Parameters:
planKey -
abandonResult -
Throws:
java.lang.InterruptedException


Copyright © 2012 Atlassian. All Rights Reserved.