Interface CustomEnvironmentConfigPlugin
- All Superinterfaces:
BambooPluginModule
- All Known Implementing Classes:
DummyCustomEnvironmentConfig
Plugin with custom configuration for each environment.
Plugins configuration will be displayed in environment's Other page
-
Method Summary
Modifier and TypeMethodDescriptionvoid
populateContextForEdit
(@NotNull Optional<Map<String, String>> pluginConfig, @NotNull Map<String, Object> context) Extension point for adding default values to the context for template renderingvoid
populateEnvironmentPluginConfig
(@NotNull Map<String, String> pluginConfig, @NotNull ActionParametersMap parametersMap) Extension point for adding values to environment plugin config map for saving it in database
-
Method Details
-
populateContextForEdit
void populateContextForEdit(@NotNull @NotNull Optional<Map<String, String>> pluginConfig, @NotNull @NotNull Map<String, Object> context) Extension point for adding default values to the context for template rendering- Parameters:
pluginConfig
- plugins configuration map Is not present when configuration plugins hasn't yet been saved in databasecontext
- context to populate for template rendering
-
populateEnvironmentPluginConfig
void populateEnvironmentPluginConfig(@NotNull @NotNull Map<String, String> pluginConfig, @NotNull @NotNull ActionParametersMap parametersMap) Extension point for adding values to environment plugin config map for saving it in database- Parameters:
pluginConfig
- environment plugin config map to populate, later saved in databaseparametersMap
- parameters obtained from environment's Other configuration page
-