Class ConcurrentBuildsConfigurationTransformer
- java.lang.Object
-
- com.atlassian.bamboo.build.configuration.ConcurrentBuildsConfigurationTransformer
-
- All Implemented Interfaces:
CustomBuildDefinitionTransformer
public class ConcurrentBuildsConfigurationTransformer extends Object implements CustomBuildDefinitionTransformer
Transformer that puts the concurrent build configuration into build definitions.
-
-
Constructor Summary
Constructors Constructor Description ConcurrentBuildsConfigurationTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
transformBuildDefinition(@NotNull Map<String,Object> configObjects, @NotNull Map<String,String> configParameters, @NotNull BuildDefinition buildDefinition)
Implementors can add their custom objects to the configObjects map.
-
-
-
Method Detail
-
transformBuildDefinition
public void transformBuildDefinition(@NotNull @NotNull Map<String,Object> configObjects, @NotNull @NotNull Map<String,String> configParameters, @NotNull @NotNull BuildDefinition buildDefinition)
Description copied from interface:CustomBuildDefinitionTransformer
Implementors can add their custom objects to the configObjects map. The key should be unique to plugin... It's better to be descriptive. It is possible to also update the buildDefinition directly, but it's not recommended.- Specified by:
transformBuildDefinition
in interfaceCustomBuildDefinitionTransformer
- Parameters:
configObjects
- - Map - string key, object value. A map to put custom objects into.configParameters
- - Map - String key, string value. These are taken from all fields that begin with "custom."buildDefinition
- - the fully constructedBuildDefinition
-
-