com.atlassian.bamboo.builder
Interface BuilderManager

All Known Implementing Classes:
DefaultBuilderManager

public interface BuilderManager


Method Summary
 CapabilitySet addDefaultBuilderToCapabilitySet(CapabilitySet capabilitySet)
          Adds default builder and paths to the given CapabilitySet
 java.util.List<Builder> getAllBuilders()
          A list of Builder objects available to the system with default configuration.
 java.util.Map<java.lang.String,Builder> getAllBuildersAsMap()
           
 java.util.List<Builder> getAllConfigurableBuilders()
          Returns all builders with Builder.isLabelPathMapConfigurable() returning true
 Builder getBuilder(java.lang.String key, java.util.Map<java.lang.String,java.lang.String> params)
          Creates a new builder with the specified key, instantiated with the given params
 Builder getBuilderByShortKey(java.lang.String shortKey)
          Gets a builder by a short key representation.
 java.util.Map<java.lang.String,java.lang.String> getBuilderLabelTypeMap()
          Obtain the total set of builder maps.
 void init()
          Starts up and initialises the builder manager
 

Method Detail

init

void init()
Starts up and initialises the builder manager


getBuilder

Builder getBuilder(java.lang.String key,
                   @Nullable
                   java.util.Map<java.lang.String,java.lang.String> params)
Creates a new builder with the specified key, instantiated with the given params

Parameters:
key - - full plugin key of the build e.g com.atlassian.bamboo.plugin.system.builder:ant
params - - params that the builder will be instantiated with. Can be null
Returns:
a constructed Builder

getAllBuilders

java.util.List<Builder> getAllBuilders()
A list of Builder objects available to the system with default configuration.

Returns:
List of Builders. Collections.EMPTY_LIST if none available

getAllBuildersAsMap

java.util.Map<java.lang.String,Builder> getAllBuildersAsMap()

getBuilderLabelTypeMap

java.util.Map<java.lang.String,java.lang.String> getBuilderLabelTypeMap()
Obtain the total set of builder maps. The key are the labels for the Builder and the values are LabelPathMap


getAllConfigurableBuilders

java.util.List<Builder> getAllConfigurableBuilders()
Returns all builders with Builder.isLabelPathMapConfigurable() returning true

Returns:
List of Builder. Collections.EMPTY_LIST if none available

getBuilderByShortKey

Builder getBuilderByShortKey(java.lang.String shortKey)
Gets a builder by a short key representation.

Parameters:
shortKey -
Returns:

addDefaultBuilderToCapabilitySet

@NotNull
CapabilitySet addDefaultBuilderToCapabilitySet(@NotNull
                                                       CapabilitySet capabilitySet)
Adds default builder and paths to the given CapabilitySet

Parameters:
localShared -


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.