com.atlassian.bamboo.build
Interface StopBuildManager

All Known Implementing Classes:
DefaultStopBuildManager

public interface StopBuildManager


Method Summary
 void cancelAllBuilds(java.lang.String planKey, boolean abandonResult)
          Will stop all builds running for plan identified by planKey
 void cancelBuild(java.lang.String buildResultKey, boolean abandonResult)
           
 void stopAgentNicely(BuildAgent buildAgent)
          Will tell an agent to stop after it's finished the current build
 

Method Detail

cancelBuild

void cancelBuild(java.lang.String buildResultKey,
                 boolean abandonResult)
                 throws java.lang.InterruptedException
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(java.lang.String 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 © 2010 Atlassian. All Rights Reserved.