|
||||||||||
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 BuildStrategy
init
in class LegacyAbstractBuildStrategy
public String getKey()
BuildStrategy
public String getName()
BuildStrategy
public String getDescription()
getDescription
in interface BuildStrategy
getDescription
in class LegacyAbstractBuildStrategy
public ErrorCollection validate(BuildConfiguration buildConfiguration)
BuildStrategy
BuildConfiguration
and returns any errors possible
validate
in interface BuildStrategy
validate
in class LegacyAbstractBuildStrategy
buildConfiguration
- not null
ErrorCollection
. must not be nullpublic boolean requiresBuild(Build build) throws RepositoryException
build
- The build
RepositoryException
public 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 |