|
||||||||||
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
@Deprecated public class DefaultBuildStrategyManager
Field Summary |
---|
Fields inherited from interface com.atlassian.bamboo.trigger.TriggerTypeManager |
---|
BUILD_STRATEGY_DAILY, BUILD_STRATEGY_MANUAL, BUILD_STRATEGY_POLLING, BUILD_STRATEGY_SCHEDULED, BUILD_STRATEGY_STASH, BUILD_STRATEGY_TRIGGERED, SELECTED_BUILD_STRATEGY |
Constructor Summary | |
---|---|
DefaultBuildStrategyManager(com.atlassian.plugin.PluginAccessor pluginAccessor)
Deprecated. Alternative constructor for agent that doesn't use feature manager |
Method Summary | ||
---|---|---|
protected
|
autowireBuildStrategy(T buildStrategy)
Deprecated. |
|
Iterable<TriggerModuleDescriptor> |
getAvailableTriggerDescriptors(Triggerable triggerable)
Deprecated. Provides a list of available trigger types for a specific triggerable. |
|
Iterable<TriggerModuleDescriptor> |
getAvailableTriggerDescriptorsByType(Class<? extends Triggerable> triggerableClass)
Deprecated. Provides a list of available trigger types for a specific type of triggerable. |
|
List<BuildStrategy> |
getBuildStrategies()
Deprecated. Retuns a list of available BuildStrategy objects |
|
List<BuildStrategy> |
getBuildStrategies(boolean sourceControlUsed)
Deprecated. 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. |
|
List<BuildStrategy> |
getBuildStrategiesForPlanCreate(boolean sourceControlUsed)
Deprecated. 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. |
|
List<BuildTriggerCondition> |
getBuildTriggerConditions()
Deprecated. |
|
BuildStrategy |
getNewBuildStrategyInstance(String key)
Deprecated. Takes in a BuildStrategy key a creates a new BuildStrategy for that key. |
|
BuildStrategy |
getNewTriggerInstance(String key)
Deprecated. |
|
TriggerActivator |
getTriggerActivator(String pluginKey)
Deprecated. Get TriggerActivator instance for a particular plugin key. |
|
TriggerModuleDescriptor |
getTriggerDescriptor(String pluginKey)
Deprecated. Get the trigger type descriptor matching a particular plugin key. |
|
List<BuildStrategy> |
getTriggerTypes(Class<? extends Triggerable> type)
Deprecated. |
|
List<BuildStrategy> |
getTriggerTypes(Class<? extends Triggerable> type,
boolean sourceControlUsed)
Deprecated. |
|
List<BuildStrategy> |
getTriggerTypesForCreate(Class<? extends Triggerable> type,
boolean sourceControlUsed)
Deprecated. |
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)
pluginAccessor
- Method Detail |
---|
@NotNull public BuildStrategy getNewTriggerInstance(@Nullable String key)
getNewTriggerInstance
in interface TriggerTypeManager
protected <T extends BuildStrategy> T autowireBuildStrategy(T buildStrategy)
@NotNull public List<BuildStrategy> getTriggerTypes(@NotNull Class<? extends Triggerable> type)
getTriggerTypes
in interface TriggerTypeManager
@NotNull public List<BuildStrategy> getTriggerTypes(@NotNull Class<? extends Triggerable> type, boolean sourceControlUsed)
getTriggerTypes
in interface TriggerTypeManager
@NotNull public BuildStrategy getNewBuildStrategyInstance(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 invalid@NotNull public List<BuildStrategy> getTriggerTypesForCreate(@NotNull Class<? extends Triggerable> type, boolean sourceControlUsed)
getTriggerTypesForCreate
in interface TriggerTypeManager
@NotNull public List<BuildStrategy> getBuildStrategies()
BuildStrategyManager
BuildStrategy
objects
getBuildStrategies
in interface BuildStrategyManager
BuildStrategy
. Empty list if none exists.@NotNull public List<BuildStrategy> getBuildStrategiesForPlanCreate(boolean sourceControlUsed)
BuildStrategyManager
BuildStrategy
objects with an option to include/exclude strategies that do not apply
to Plans that don't use any VCS. Used during creating Chains.
getBuildStrategiesForPlanCreate
in interface BuildStrategyManager
sourceControlUsed
- indicates if VCS system is used
BuildStrategy
. Empty list if none exists.@NotNull public List<BuildStrategy> getBuildStrategies(boolean sourceControlUsed)
BuildStrategyManager
BuildStrategy
objects with an option to include/exclude strategies that do not apply
to Plans that don't use any VCS.
getBuildStrategies
in interface BuildStrategyManager
sourceControlUsed
- indicates if VCS system is used
BuildStrategy
. Empty list if none exists.@NotNull public List<BuildTriggerCondition> getBuildTriggerConditions()
getBuildTriggerConditions
in interface BuildStrategyManager
@NotNull public Iterable<TriggerModuleDescriptor> getAvailableTriggerDescriptors(@NotNull Triggerable triggerable)
TriggerTypeManager
getAvailableTriggerDescriptors
in interface TriggerTypeManager
public Iterable<TriggerModuleDescriptor> getAvailableTriggerDescriptorsByType(Class<? extends Triggerable> triggerableClass)
TriggerTypeManager
TriggerTypeManager.getAvailableTriggerDescriptors(Triggerable)
getAvailableTriggerDescriptorsByType
in interface TriggerTypeManager
@Nullable public TriggerModuleDescriptor getTriggerDescriptor(@Nullable String pluginKey)
TriggerTypeManager
getTriggerDescriptor
in interface TriggerTypeManager
pluginKey
- - key to match
TriggerModuleDescriptor
matching the given key if it exists. Null if the plugin can not be found.@Nullable public TriggerActivator getTriggerActivator(@NotNull String pluginKey)
TriggerTypeManager
TriggerActivator
instance for a particular plugin key.
getTriggerActivator
in interface TriggerTypeManager
pluginKey
- - key to match
TriggerActivator
matching the given key if it exists. Null if the plugin can not be found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |