com.atlassian.bamboo.plugin.module.ext
Interface CustomBuildDefinitionGenerator
- All Known Implementing Classes:
- AutomaticDependencyManagementPlugin
public interface CustomBuildDefinitionGenerator
An interface that allows a plugin module to populate BuildDefinition
object as it's created from BuildConfiguration
.
This allows you to put arbitrary objects into the custom objects map.
populateBuildDefinition
void populateBuildDefinition(@NotNull
ImmutablePlan plan,
@NotNull
java.util.Map<java.lang.String,java.lang.Object> configObjects,
@NotNull
BuildDefinition buildDefinition)
- 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.
- Parameters:
plan
- ImmutablePlan
whose BuildDefinition
is being populatedconfigObjects
- - Map - string key, object value. A map to put custom objects into. @NotNullbuildDefinition
- - the fully constructed BuildDefinition
@NotNull
Copyright © 2012 Atlassian. All Rights Reserved.