@ExperimentalApi public interface CustomEnvironmentConfigPlugin extends BambooPluginModule
Modifier and Type | Method and Description |
---|---|
void |
populateContextForEdit(Optional<Map<String,String>> pluginConfig,
Map<String,Object> context)
Extension point for adding default values to the context for template rendering
|
void |
populateEnvironmentPluginConfig(Map<String,String> pluginConfig,
ActionParametersMap parametersMap)
Extension point for adding values to environment plugin config map for saving it in database
|
void populateContextForEdit(@NotNull Optional<Map<String,String>> pluginConfig, @NotNull Map<String,Object> context)
pluginConfig
- plugins configuration map
Is not present when configuration plugins hasn't yet been saved in databasecontext
- context to populate for template renderingvoid populateEnvironmentPluginConfig(@NotNull Map<String,String> pluginConfig, @NotNull ActionParametersMap parametersMap)
pluginConfig
- environment plugin config map to populate, later saved in databaseparametersMap
- parameters obtained from environment's Other configuration pageCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.