|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.legacy.LegacyAbstractBuildStrategy
com.atlassian.bamboo.legacy.LegacyTriggeredBuildStrategy
public class LegacyTriggeredBuildStrategy
This class lets someone else decide if the build should be built. Could be human, could be a remote SCM trigger....
| Constructor Summary | |
|---|---|
LegacyTriggeredBuildStrategy()
|
|
| Method Summary | |
|---|---|
void |
clearTrigger()
Remove any existing trigger settings |
Collection |
getChangeList()
Get the changes that have been detected |
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)
Force a repository check when we are initialised just in case there have been checkins while the server was not available. |
boolean |
isTriggered()
Will we trigger a build next time we are asked |
boolean |
requiresBuild(Build build)
Has the build been triggered |
boolean |
requiresPreBuildClean()
No point! |
void |
triggerBuild()
Trigger a build next time we're asked |
ErrorCollection |
validate(BuildConfiguration buildConfiguration)
Takes in a BuildConfiguration and returns any errors possible |
| Methods inherited from class com.atlassian.bamboo.legacy.LegacyAbstractBuildStrategy |
|---|
addDefaultValues, getBuildMessage, log, populateFromConfig, setBuildMessage, toConfiguration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LegacyTriggeredBuildStrategy()
| Method Detail |
|---|
public void init(Build build)
init in interface BuildStrategyinit in class LegacyAbstractBuildStrategypublic String getKey()
BuildStrategy
public String getName()
BuildStrategy
public String getDescription()
getDescription in interface BuildStrategygetDescription in class LegacyAbstractBuildStrategypublic ErrorCollection validate(BuildConfiguration buildConfiguration)
BuildStrategyBuildConfiguration and returns any errors possible
validate in interface BuildStrategyvalidate in class LegacyAbstractBuildStrategybuildConfiguration - not null
ErrorCollection. must not be null
public boolean requiresBuild(Build build)
throws RepositoryException
build - The build
RepositoryExceptionpublic boolean requiresPreBuildClean()
public Collection getChangeList()
public void triggerBuild()
public void clearTrigger()
public boolean isTriggered()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||