|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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. |
Builder |
getBuilderFromLabel(java.lang.String selectedBuildLabel)
Gets the Builder object from a given label |
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 |
---|
void init()
Builder getBuilder(java.lang.String key, @Nullable java.util.Map<java.lang.String,java.lang.String> params)
key
- - full plugin key of the build e.g com.atlassian.bamboo.plugin.system.builder:antparams
- - params that the builder will be instantiated with. Can be null
Builder
java.util.List<Builder> getAllBuilders()
Builder
objects available to the system with default configuration.
List
of Builder
s. Collections.EMPTY_LIST
if none availablejava.util.Map<java.lang.String,Builder> getAllBuildersAsMap()
java.util.Map<java.lang.String,java.lang.String> getBuilderLabelTypeMap()
Builder
and the values are
LabelPathMap
java.util.List<Builder> getAllConfigurableBuilders()
Builder.isLabelPathMapConfigurable()
returning true
Builder
. Collections.EMPTY_LIST
if none availableBuilder getBuilderByShortKey(java.lang.String shortKey)
shortKey
-
@NotNull CapabilitySet addDefaultBuilderToCapabilitySet(@NotNull CapabilitySet capabilitySet)
CapabilitySet
localShared
- @Nullable Builder getBuilderFromLabel(@Nullable java.lang.String selectedBuildLabel)
Builder
object from a given label
selectedBuildLabel
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |