public class DefaultThemeManager extends Object implements ThemeManager
| Constructor and Description |
|---|
DefaultThemeManager(DefaultThemeManagerFactory factory,
KeycloakSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache() |
Theme |
getTheme(String name,
Theme.Type type)
Returns the specified theme for the specified type.
|
Theme |
getTheme(Theme.Type type)
Returns the theme for the specified type.
|
boolean |
isCacheEnabled() |
Set<String> |
nameSet(Theme.Type type)
Returns a set of all theme names for the specified type.
|
public DefaultThemeManager(DefaultThemeManagerFactory factory, KeycloakSession session)
public Theme getTheme(Theme.Type type)
ThemeManagergetTheme in interface ThemeManagerpublic Theme getTheme(String name, Theme.Type type)
ThemeManagergetTheme in interface ThemeManagerpublic Set<String> nameSet(Theme.Type type)
ThemeManagernameSet in interface ThemeManagerpublic boolean isCacheEnabled()
isCacheEnabled in interface ThemeManagerpublic void clearCache()
clearCache in interface ThemeManagerCopyright © 2021 JBoss by Red Hat. All rights reserved.