public class DummyCustomEnvironmentConfig extends Object implements CustomEnvironmentConfigPlugin
Constructor and Description |
---|
DummyCustomEnvironmentConfig() |
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
|
public void populateEnvironmentPluginConfig(@NotNull Map<String,String> pluginConfig, @NotNull ActionParametersMap parametersMap)
CustomEnvironmentConfigPlugin
populateEnvironmentPluginConfig
in interface CustomEnvironmentConfigPlugin
pluginConfig
- environment plugin config map to populate, later saved in databaseparametersMap
- parameters obtained from environment miscellaneous configuration pagepublic void populateContextForEdit(@NotNull Optional<Map<String,String>> pluginConfig, @NotNull Map<String,Object> context)
CustomEnvironmentConfigPlugin
populateContextForEdit
in interface CustomEnvironmentConfigPlugin
pluginConfig
- plugins configuration map
Is not present when configuration plugins hasn't yet been saved in databasecontext
- context to populate for template renderingCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.