public class DelegatingLegacySettingsManager extends Object implements SettingsManager
SettingsManager
interface which delegates to its component interfaces.Constructor and Description |
---|
DelegatingLegacySettingsManager(GlobalSettingsManager globalSettingsManager,
SpaceSettingsManager spaceSettingsManager,
LegacyPluginSettingsManager pluginSettingsManager,
GlobalDescriptionManager globalDescriptionManager) |
Modifier and Type | Method and Description |
---|---|
GlobalDescription |
getGlobalDescription() |
Settings |
getGlobalSettings() |
Serializable |
getPluginSettings(String pluginKey) |
SpaceSettings |
getSpaceSettings(String spaceKey) |
void |
updateGlobalDescription(GlobalDescription globalDescription) |
void |
updateGlobalSettings(Settings settings) |
void |
updatePluginSettings(String pluginKey,
Serializable pluginSettings) |
void |
updateSpaceSettings(SpaceSettings spaceSettings) |
public DelegatingLegacySettingsManager(GlobalSettingsManager globalSettingsManager, SpaceSettingsManager spaceSettingsManager, LegacyPluginSettingsManager pluginSettingsManager, GlobalDescriptionManager globalDescriptionManager)
public SpaceSettings getSpaceSettings(String spaceKey)
getSpaceSettings
in interface SettingsManager
getSpaceSettings
in interface SpaceSettingsManager
public void updateSpaceSettings(SpaceSettings spaceSettings)
updateSpaceSettings
in interface SettingsManager
updateSpaceSettings
in interface SpaceSettingsManager
public Serializable getPluginSettings(String pluginKey)
getPluginSettings
in interface LegacyPluginSettingsManager
getPluginSettings
in interface SettingsManager
public void updatePluginSettings(String pluginKey, Serializable pluginSettings)
updatePluginSettings
in interface LegacyPluginSettingsManager
updatePluginSettings
in interface SettingsManager
public Settings getGlobalSettings()
getGlobalSettings
in interface GlobalSettingsManager
getGlobalSettings
in interface SettingsManager
public void updateGlobalSettings(Settings settings)
updateGlobalSettings
in interface GlobalSettingsManager
updateGlobalSettings
in interface SettingsManager
public GlobalDescription getGlobalDescription()
getGlobalDescription
in interface GlobalDescriptionManager
getGlobalDescription
in interface SettingsManager
public void updateGlobalDescription(GlobalDescription globalDescription)
updateGlobalDescription
in interface GlobalDescriptionManager
updateGlobalDescription
in interface SettingsManager
Copyright © 2003–2021 Atlassian. All rights reserved.