|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.build.strategy.DefaultBuildStrategyManager
public class DefaultBuildStrategyManager
Field Summary |
---|
Fields inherited from interface com.atlassian.bamboo.build.strategy.BuildStrategyManager |
---|
BUILD_STRATEGY_DAILY, BUILD_STRATEGY_MANUAL, BUILD_STRATEGY_POLLING, BUILD_STRATEGY_SCHEDULED, BUILD_STRATEGY_TRIGGERED, SELECTED_BUILD_STRATEGY |
Constructor Summary | |
---|---|
DefaultBuildStrategyManager(com.atlassian.plugin.PluginAccessor pluginAccessor)
|
Method Summary | |
---|---|
protected void |
autowireBuildStrategy(BuildStrategy buildStrategy)
|
java.util.List<BuildStrategy> |
getBuildStrategies()
Retuns a list of available BuildStrategy objects |
java.util.List<BuildTriggerCondition> |
getBuildTriggerConditions()
|
BuildStrategy |
getNewBuildStrategyInstance(java.lang.String key)
Takes in a BuildStrategy key a creates a new BuildStrategy for that key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultBuildStrategyManager(com.atlassian.plugin.PluginAccessor pluginAccessor)
Method Detail |
---|
@NotNull public BuildStrategy getNewBuildStrategyInstance(java.lang.String key)
BuildStrategyManager
BuildStrategy
for that key. Will default to a manual build if the key is invalid
getNewBuildStrategyInstance
in interface BuildStrategyManager
key
- - Cann be null
BuildStrategy
matching the key. Will return default BuildStrategy
if invalidprotected void autowireBuildStrategy(BuildStrategy buildStrategy)
@NotNull public java.util.List<BuildStrategy> getBuildStrategies()
BuildStrategyManager
BuildStrategy
objects
getBuildStrategies
in interface BuildStrategyManager
BuildStrategy
. Empty list if none exists.@NotNull public java.util.List<BuildTriggerCondition> getBuildTriggerConditions()
getBuildTriggerConditions
in interface BuildStrategyManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |