com.atlassian.bamboo.build.strategy
Class DefaultBuildStrategyManager
java.lang.Object
com.atlassian.bamboo.build.strategy.DefaultBuildStrategyManager
- All Implemented Interfaces:
- BuildStrategyManager
public class DefaultBuildStrategyManager
- extends java.lang.Object
- implements BuildStrategyManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultBuildStrategyManager
public DefaultBuildStrategyManager(com.atlassian.plugin.PluginAccessor pluginAccessor)
getNewBuildStrategyInstance
@NotNull
public BuildStrategy getNewBuildStrategyInstance(java.lang.String key)
- Description copied from interface:
BuildStrategyManager
- Takes in a BuildStrategy key a creates a new
BuildStrategy
for that key. Will default to a manual build if the key is invalid
- Specified by:
getNewBuildStrategyInstance
in interface BuildStrategyManager
- Parameters:
key
- - Cann be null
- Returns:
BuildStrategy
matching the key. Will return default BuildStrategy
if invalid
autowireBuildStrategy
protected void autowireBuildStrategy(BuildStrategy buildStrategy)
getBuildStrategies
@NotNull
public java.util.List<BuildStrategy> getBuildStrategies()
- Description copied from interface:
BuildStrategyManager
- Retuns a list of available
BuildStrategy
objects
- Specified by:
getBuildStrategies
in interface BuildStrategyManager
- Returns:
- Immutable list of
BuildStrategy
. Empty list if none exists.
getBuildStrategies
@NotNull
public java.util.List<BuildStrategy> getBuildStrategies(boolean sourceControlUsed)
- Description copied from interface:
BuildStrategyManager
- Retuns a list of available
BuildStrategy
objects with an option to include/exclude strategies that do not apply
to Plans that don't use any VCS.
- Specified by:
getBuildStrategies
in interface BuildStrategyManager
- Parameters:
sourceControlUsed
- indicates if VCS system is used
- Returns:
- Immutable list of
BuildStrategy
. Empty list if none exists.
getBuildTriggerConditions
@NotNull
public java.util.List<BuildTriggerCondition> getBuildTriggerConditions()
- Specified by:
getBuildTriggerConditions
in interface BuildStrategyManager
- Returns:
- all trigger condition plugins currently in the system.
Copyright © 2012 Atlassian. All Rights Reserved.