com.atlassian.bamboo.build.monitoring
Class BuildMonitoringTransformer

java.lang.Object
  extended by com.atlassian.bamboo.build.monitoring.BuildMonitoringTransformer
All Implemented Interfaces:
CustomBuildDefinitionTransformer

public class BuildMonitoringTransformer
extends Object
implements CustomBuildDefinitionTransformer

A CustomBuildDefinitionTransformer that puts build monitoring configuration into the build definition.


Constructor Summary
BuildMonitoringTransformer()
           
 
Method Summary
 void transformBuildDefinition(Map<String,Object> configObjects, Map<String,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
 

Constructor Detail

BuildMonitoringTransformer

public BuildMonitoringTransformer()
Method Detail

transformBuildDefinition

public void transformBuildDefinition(@NotNull
                                     Map<String,Object> configObjects,
                                     @NotNull
                                     Map<String,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. @NotNull
configParameters - - Map - String key, string value. These are taken from all fields that begin with "custom."
buildDefinition - - the fully constructed BuildDefinition @NotNull


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.