public class CustomEnvironmentConfigPluginUIHelperImpl extends Object implements CustomEnvironmentConfigPluginUIHelper
Constructor and Description |
---|
CustomEnvironmentConfigPluginUIHelperImpl(CustomEnvironmentConfigPluginManager customEnvironmentConfigPluginManager,
TemplateRenderer templateRenderer) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getEditHtmlList(Map<String,Map<String,String>> environmentPluginConfig,
Map<String,Object> context)
Generate list of html edit fragments for all
CustomEnvironmentConfigPlugin plugins. |
void |
populateEnvironmentPluginConfig(Map<String,Map<String,String>> environmentPluginConfig,
ActionParametersMap parametersMap)
Populates Environment plugins config map, so it can be later saved in database
|
@Inject public CustomEnvironmentConfigPluginUIHelperImpl(CustomEnvironmentConfigPluginManager customEnvironmentConfigPluginManager, TemplateRenderer templateRenderer)
@NotNull public List<String> getEditHtmlList(@NotNull Map<String,Map<String,String>> environmentPluginConfig, @NotNull Map<String,Object> context)
CustomEnvironmentConfigPluginUIHelper
CustomEnvironmentConfigPlugin
plugins.getEditHtmlList
in interface CustomEnvironmentConfigPluginUIHelper
environmentPluginConfig
- Environment plugins config map, passed to pluginscontext
- context used for template rendering, to be populated by pluginspublic void populateEnvironmentPluginConfig(@NotNull Map<String,Map<String,String>> environmentPluginConfig, @NotNull ActionParametersMap parametersMap)
CustomEnvironmentConfigPluginUIHelper
populateEnvironmentPluginConfig
in interface CustomEnvironmentConfigPluginUIHelper
environmentPluginConfig
- Environment plugins config map, which plugins populateparametersMap
- parameters from environment's Other page, that plugins can use for configurationCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.