|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BuildStrategy
This interface is used to determin if a build should be built.
| Method Summary | |
|---|---|
void |
addDefaultValues(BuildConfiguration buildConfiguration)
|
String |
getBuildMessage()
Custom message for displaying in the log |
Collection |
getChangeList()
What are the changes to include in the build |
String |
getDescription()
|
String |
getKey()
A lowercase string key to identify the build strategy |
String |
getName()
Returns the display name of the strategy |
void |
init(Build build)
Called whenever Bamboo starts up |
boolean |
requiresBuild(Build build)
Should the build be built? |
boolean |
requiresPreBuildClean()
Should we clean the build files before we build? |
void |
setBuildMessage(String message)
Custom message for displaying in the log |
ErrorCollection |
validate(BuildConfiguration buildConfiguration)
Takes in a BuildConfiguration and returns any errors possible |
| Methods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig |
|---|
populateFromConfig, toConfiguration |
| Method Detail |
|---|
void init(Build build)
build - ErrorCollection validate(BuildConfiguration buildConfiguration)
BuildConfiguration and returns any errors possible
buildConfiguration - not null
ErrorCollection. must not be nullString getKey()
String getName()
boolean requiresBuild(Build build)
throws RepositoryException
build - The build
RepositoryExceptionboolean requiresPreBuildClean()
String getBuildMessage()
void setBuildMessage(String message)
Collection getChangeList()
String getDescription()
void addDefaultValues(BuildConfiguration buildConfiguration)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||