|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.build.strategy.AbstractBuildStrategy com.atlassian.bamboo.build.strategy.TriggeredBuildStrategy
public class TriggeredBuildStrategy
This class lets someone else decide if the build should be built. Could be human, could be a remote SCM trigger....
Constructor Summary | |
---|---|
TriggeredBuildStrategy()
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
|
java.lang.String |
getKey()
A lowercase string key to identify the build strategy |
java.lang.String |
getName()
Returns the display name of the strategy |
void |
init(Plan plan)
Default to do nothing |
void |
setEventManager(com.atlassian.event.EventManager eventManager)
|
ErrorCollection |
validate(BuildConfiguration buildConfiguration)
Takes in a BuildConfiguration and returns any errors possible |
Methods inherited from class com.atlassian.bamboo.build.strategy.AbstractBuildStrategy |
---|
addDefaultValues, getTextProvider, populateFromConfig, toConfiguration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TriggeredBuildStrategy()
Method Detail |
---|
public void init(Plan plan)
AbstractBuildStrategy
init
in interface BuildStrategy
init
in class AbstractBuildStrategy
public java.lang.String getKey()
BuildStrategy
public java.lang.String getName()
BuildStrategy
public java.lang.String getDescription()
getDescription
in interface BuildStrategy
getDescription
in class AbstractBuildStrategy
public ErrorCollection validate(BuildConfiguration buildConfiguration)
BuildStrategy
BuildConfiguration
and returns any errors possible
validate
in interface BuildStrategy
validate
in class AbstractBuildStrategy
buildConfiguration
- not null
ErrorCollection
. must not be nullpublic void setEventManager(com.atlassian.event.EventManager eventManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |