Interface CustomBuildDefinitionTransformer
-
- All Known Implementing Classes:
AutomaticDependencyManagementConfigProvider,BuildExpiryPerPlanTransformer,BuildMonitoringTransformer,ConcurrentBuildsConfigurationTransformer
public interface CustomBuildDefinitionTransformerAn interface that allows a plugin module to transform aBuildDefinitionobject as it's be created from XML. This allows you to put arbitrary objects into the custom objects map
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidtransformBuildDefinition(@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
void transformBuildDefinition(@NotNull @NotNull Map<String,Object> configObjects, @NotNull @NotNull Map<String,String> configParameters, @NotNull @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, but it's not recommended.- 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
-
-