com.atlassian.bamboo.build.expiry.plugin
Class BuildExpiryPerPlanTransformer
java.lang.Object
com.atlassian.bamboo.build.expiry.plugin.BuildExpiryPerPlanTransformer
- All Implemented Interfaces:
- CustomBuildDefinitionTransformer
public class BuildExpiryPerPlanTransformer
- extends java.lang.Object
- implements CustomBuildDefinitionTransformer
Transformer that puts the build expiration configuration into build definitions.
Method Summary |
void |
transformBuildDefinition(java.util.Map<java.lang.String,java.lang.Object> configObjects,
java.util.Map<java.lang.String,java.lang.String> configParameters,
BuildDefinition buildDefinition)
Implementors can add their custom objects to the configObjects map. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildExpiryPerPlanTransformer
public BuildExpiryPerPlanTransformer()
transformBuildDefinition
public void transformBuildDefinition(@NotNull
java.util.Map<java.lang.String,java.lang.Object> configObjects,
@NotNull
java.util.Map<java.lang.String,java.lang.String> configParameters,
@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 interface CustomBuildDefinitionTransformer
- Parameters:
configObjects
- - Map - string key, object value. A map to put custom objects into. @NotNullconfigParameters
- - Map - String key, string value. These are taken from all fields that begin with "custom."buildDefinition
- - the fully constructed BuildDefinition
@NotNull
Copyright © 2012 Atlassian. All Rights Reserved.