com.atlassian.bamboo.build.strategy
Class ManualBuildStrategy

java.lang.Object
  extended by com.atlassian.bamboo.build.strategy.AbstractBuildStrategy
      extended by com.atlassian.bamboo.build.strategy.ManualBuildStrategy
All Implemented Interfaces:
BuildStrategy, ConvertibleFromConfig

public class ManualBuildStrategy
extends AbstractBuildStrategy

This class forces a manual build.


Field Summary
 
Fields inherited from class com.atlassian.bamboo.build.strategy.AbstractBuildStrategy
changeList
 
Constructor Summary
ManualBuildStrategy()
           
 
Method Summary
 String getDescription()
           
 String getKey()
          A lowercase string key to identify the build strategy
 String getName()
          Returns the display name of the strategy
 boolean requiresBuild(Build build)
          Force a build of the build
 boolean requiresPreBuildClean()
          Don't do this
 
Methods inherited from class com.atlassian.bamboo.build.strategy.AbstractBuildStrategy
addDefaultValues, getBuildMessage, getChangeList, init, log, populateChangeList, populateFromConfig, setBuildMessage, toConfiguration, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManualBuildStrategy

public ManualBuildStrategy()
Method Detail

getKey

public String getKey()
Description copied from interface: BuildStrategy
A lowercase string key to identify the build strategy

Returns:
String must not be null

getName

public String getName()
Description copied from interface: BuildStrategy
Returns the display name of the strategy

Returns:
String must not be null

getDescription

public String getDescription()
Specified by:
getDescription in interface BuildStrategy
Overrides:
getDescription in class AbstractBuildStrategy

requiresBuild

public boolean requiresBuild(Build build)
Force a build of the build

Parameters:
build - The build to build
Returns:
true

requiresPreBuildClean

public boolean requiresPreBuildClean()
Don't do this

Returns:
false


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.