com.atlassian.bamboo.build.strategy
Class InitialBootstapBuildStrategy

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

public class InitialBootstapBuildStrategy
extends AbstractBuildStrategy

This class instructs the system to start a clean bootstrap build of bamboo.


Field Summary
 
Fields inherited from class com.atlassian.bamboo.build.strategy.AbstractBuildStrategy
changeList
 
Constructor Summary
InitialBootstapBuildStrategy()
           
 
Method Summary
 Collection getChangeList()
          There are no changes in an bootstrap build.
 String getKey()
          A lowercase string key to identify the build strategy
 String getName()
          Returns the display name of the strategy
 boolean requiresBuild(Build build)
          Always build a new build
 boolean requiresPreBuildClean()
          Does not make much difference, but we decided to force a clean build just in case there are some files kicking around
 
Methods inherited from class com.atlassian.bamboo.build.strategy.AbstractBuildStrategy
addDefaultValues, getBuildMessage, getDescription, 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

InitialBootstapBuildStrategy

public InitialBootstapBuildStrategy()
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

requiresBuild

public boolean requiresBuild(Build build)
Always build a new build

Parameters:
build - The build to build
Returns:
true

requiresPreBuildClean

public boolean requiresPreBuildClean()
Does not make much difference, but we decided to force a clean build just in case there are some files kicking around

Returns:
true

getChangeList

public Collection getChangeList()
There are no changes in an bootstrap build.

Specified by:
getChangeList in interface BuildStrategy
Overrides:
getChangeList in class AbstractBuildStrategy
Returns:
null


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.