public class DefaultThemeManager extends Object implements ThemeManager
| Constructor and Description |
|---|
DefaultThemeManager() |
| Modifier and Type | Method and Description |
|---|---|
List |
getAvailableThemeDescriptors() |
Theme |
getGlobalTheme()
Gets the globally configured theme.
|
String |
getGlobalThemeKey() |
Theme |
getSpaceTheme(String spaceKey)
Retrieve the theme configured for an identified space.
|
String |
getSpaceThemeKey(String spaceKey) |
void |
setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager) |
void |
setEventManager(com.atlassian.event.EventManager eventManager) |
void |
setGlobalTheme(String themeCompleteKey) |
void |
setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor) |
void |
setSpaceTheme(String spaceKey,
String themeCompleteKey) |
void |
setUpgradeManager(UpgradeManager upgradeManager) |
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
public Theme getGlobalTheme()
ThemeManagerDefaultTheme should be returned.getGlobalTheme in interface ThemeManagerpublic String getGlobalThemeKey()
getGlobalThemeKey in interface ThemeManagerpublic Theme getSpaceTheme(String spaceKey)
getSpaceTheme in interface ThemeManagerpublic String getSpaceThemeKey(String spaceKey)
getSpaceThemeKey in interface ThemeManagerpublic void setGlobalTheme(String themeCompleteKey)
setGlobalTheme in interface ThemeManagerpublic void setSpaceTheme(String spaceKey, String themeCompleteKey)
setSpaceTheme in interface ThemeManagerpublic List getAvailableThemeDescriptors()
getAvailableThemeDescriptors in interface ThemeManagerpublic void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
public void setEventManager(com.atlassian.event.EventManager eventManager)
public void setUpgradeManager(UpgradeManager upgradeManager)
Copyright © 2003–2021 Atlassian. All rights reserved.