com.atlassian.bamboo.build.strategy
Interface BuildStrategyManager

All Superinterfaces:
TriggerTypeManager
All Known Implementing Classes:
DefaultBuildStrategyManager

Deprecated. since 5.8 without replacement

@Deprecated
public interface BuildStrategyManager
extends TriggerTypeManager

Interface to handle interactions with BuildStrategy objects


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
 
Method Summary
 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 buildStrategyKey)
          Deprecated. Takes in a BuildStrategy key a creates a new BuildStrategy for that key.
 
Methods inherited from interface com.atlassian.bamboo.trigger.TriggerTypeManager
getAvailableTriggerDescriptors, getAvailableTriggerDescriptorsByType, getNewTriggerInstance, getTriggerActivator, getTriggerDescriptor, getTriggerTypes, getTriggerTypes, getTriggerTypesForCreate
 

Method Detail

getBuildStrategies

@NotNull
List<BuildStrategy> getBuildStrategies()
Deprecated. 
Retuns a list of available BuildStrategy objects

Returns:
Immutable list of BuildStrategy. Empty list if none exists.

getBuildStrategies

@NotNull
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.

Parameters:
sourceControlUsed - indicates if VCS system is used
Returns:
Immutable list of BuildStrategy. Empty list if none exists.

getNewBuildStrategyInstance

@NotNull
BuildStrategy getNewBuildStrategyInstance(@Nullable
                                                  String buildStrategyKey)
Deprecated. 
Takes in a BuildStrategy key a creates a new BuildStrategy for that key. Will default to a manual build if the key is invalid

Parameters:
buildStrategyKey - - Cann be null
Returns:
BuildStrategy matching the key. Will return default BuildStrategy if invalid

getBuildTriggerConditions

@NotNull
List<BuildTriggerCondition> getBuildTriggerConditions()
Deprecated. 
Returns:
all trigger condition plugins currently in the system.

getBuildStrategiesForPlanCreate

@NotNull
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. Used during creating Chains.

Parameters:
sourceControlUsed - indicates if VCS system is used
Returns:
Immutable list of BuildStrategy. Empty list if none exists.


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.