com.atlassian.bamboo.build.strategy
Interface BuildStrategyManager

All Known Implementing Classes:
DefaultBuildStrategyManager

public interface BuildStrategyManager

Interface to handle interactions with BuildStrategy objects


Field Summary
static java.lang.String BUILD_STRATEGY_DAILY
           
static java.lang.String BUILD_STRATEGY_MANUAL
           
static java.lang.String BUILD_STRATEGY_POLLING
           
static java.lang.String BUILD_STRATEGY_SCHEDULED
           
static java.lang.String BUILD_STRATEGY_TRIGGERED
           
 
Method Summary
 java.util.List<BuildStrategy> getBuildStrategies()
          Retuns a list of available BuildStrategy objects
 BuildStrategy getNewBuildStrategyInstance(java.lang.String buildStrategyKey)
          Takes in a BuildStrategy key a creates a new BuildStrategy for that key.
 

Field Detail

BUILD_STRATEGY_POLLING

static final java.lang.String BUILD_STRATEGY_POLLING
See Also:
Constant Field Values

BUILD_STRATEGY_TRIGGERED

static final java.lang.String BUILD_STRATEGY_TRIGGERED
See Also:
Constant Field Values

BUILD_STRATEGY_DAILY

static final java.lang.String BUILD_STRATEGY_DAILY
See Also:
Constant Field Values

BUILD_STRATEGY_SCHEDULED

static final java.lang.String BUILD_STRATEGY_SCHEDULED
See Also:
Constant Field Values

BUILD_STRATEGY_MANUAL

static final java.lang.String BUILD_STRATEGY_MANUAL
See Also:
Constant Field Values
Method Detail

getBuildStrategies

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

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

getNewBuildStrategyInstance

@NotNull
BuildStrategy getNewBuildStrategyInstance(@Nullable
                                                  java.lang.String buildStrategyKey)
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


Copyright © 2010 Atlassian. All Rights Reserved.