Interface CustomBuildDefinitionGenerator
-
- All Known Implementing Classes:
AutomaticDependencyManagementPlugin
public interface CustomBuildDefinitionGeneratorAn interface that allows a plugin module to populateBuildDefinitionobject as it's created fromBuildConfiguration. 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 voidpopulateBuildDefinition(@NotNull ImmutablePlan plan, @NotNull Map<String,Object> configObjects, @NotNull BuildDefinition buildDefinition)Implementors can add their custom objects to the configObjects map.
-
-
-
Method Detail
-
populateBuildDefinition
void populateBuildDefinition(@NotNull @NotNull ImmutablePlan plan, @NotNull @NotNull Map<String,Object> configObjects, @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.- Parameters:
plan-ImmutablePlanwhoseBuildDefinitionis being populatedconfigObjects- - Map - string key, object value. A map to put custom objects into.buildDefinition- - the fully constructedBuildDefinition
-
-