Class DummyCustomEnvironmentConfig
- java.lang.Object
-
- com.atlassian.bamboo.plugins.dummy.DummyCustomEnvironmentConfig
-
- All Implemented Interfaces:
CustomEnvironmentConfigPlugin
,BambooPluginModule
public class DummyCustomEnvironmentConfig extends Object implements CustomEnvironmentConfigPlugin
-
-
Constructor Summary
Constructors Constructor Description DummyCustomEnvironmentConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
populateEnvironmentPluginConfig
public void populateEnvironmentPluginConfig(@NotNull @NotNull Map<String,String> pluginConfig, @NotNull @NotNull ActionParametersMap parametersMap)
Description copied from interface:CustomEnvironmentConfigPlugin
Extension point for adding values to environment plugin config map for saving it in database- Specified by:
populateEnvironmentPluginConfig
in interfaceCustomEnvironmentConfigPlugin
- Parameters:
pluginConfig
- environment plugin config map to populate, later saved in databaseparametersMap
- parameters obtained from environment's Other configuration page
-
populateContextForEdit
public void populateContextForEdit(@NotNull @NotNull Optional<Map<String,String>> pluginConfig, @NotNull @NotNull Map<String,Object> context)
Description copied from interface:CustomEnvironmentConfigPlugin
Extension point for adding default values to the context for template rendering- Specified by:
populateContextForEdit
in interfaceCustomEnvironmentConfigPlugin
- Parameters:
pluginConfig
- plugins configuration map Is not present when configuration plugins hasn't yet been saved in databasecontext
- context to populate for template rendering
-
-