|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.builder.DefaultBuilderManager
public class DefaultBuilderManager
Constructor Summary | |
---|---|
DefaultBuilderManager()
|
|
DefaultBuilderManager(com.atlassian.plugin.PluginManager pluginManager,
CapabilitySetManager capabilitySetManager,
ElasticAccountBean elasticAccountBean)
|
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()
Returns a map of currently available "configured" builders - uniquely identified by a label. |
void |
init()
Starts up and initialises the builder manager |
void |
setCapabilitySetManager(CapabilitySetManager capabilitySetManager)
|
void |
setElasticAccountBean(ElasticAccountBean elasticAccountBean)
|
void |
setPluginManager(com.atlassian.plugin.PluginManager pluginManager)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultBuilderManager()
public DefaultBuilderManager(com.atlassian.plugin.PluginManager pluginManager, CapabilitySetManager capabilitySetManager, ElasticAccountBean elasticAccountBean)
Method Detail |
---|
public void init()
BuilderManager
init
in interface BuilderManager
public java.util.Map<java.lang.String,java.lang.String> getBuilderLabelTypeMap()
getBuilderLabelTypeMap
in interface BuilderManager
public java.util.List<Builder> getAllConfigurableBuilders()
BuilderManager
Builder.isLabelPathMapConfigurable()
returning true
getAllConfigurableBuilders
in interface BuilderManager
Builder
. Collections.EMPTY_LIST
if none availablepublic Builder getBuilder(java.lang.String key, java.util.Map<java.lang.String,java.lang.String> params)
BuilderManager
getBuilder
in interface BuilderManager
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
public java.util.List<Builder> getAllBuilders()
BuilderManager
Builder
objects available to the system with default configuration.
getAllBuilders
in interface BuilderManager
List
of Builder
s. Collections.EMPTY_LIST
if none availablepublic java.util.Map<java.lang.String,Builder> getAllBuildersAsMap()
getAllBuildersAsMap
in interface BuilderManager
public Builder getBuilderByShortKey(java.lang.String shortKey)
BuilderManager
getBuilderByShortKey
in interface BuilderManager
@NotNull public CapabilitySet addDefaultBuilderToCapabilitySet(@NotNull CapabilitySet capabilitySet)
BuilderManager
CapabilitySet
addDefaultBuilderToCapabilitySet
in interface BuilderManager
@Nullable public Builder getBuilderFromLabel(java.lang.String selectedBuildLabel)
BuilderManager
Builder
object from a given label
getBuilderFromLabel
in interface BuilderManager
public void setPluginManager(com.atlassian.plugin.PluginManager pluginManager)
public void setCapabilitySetManager(CapabilitySetManager capabilitySetManager)
public void setElasticAccountBean(ElasticAccountBean elasticAccountBean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |