Package org.keycloak.models
Interface ThemeManager
-
- All Known Implementing Classes:
DefaultThemeManager
public interface ThemeManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getTheme
Theme getTheme(Theme.Type type) throws IOException
Returns the theme for the specified type. The theme is determined by the theme selector.- Parameters:
type
-- Returns:
- Throws:
IOException
-
getTheme
Theme getTheme(String name, Theme.Type type) throws IOException
Returns the specified theme for the specified type.- Parameters:
name
-type
-- Returns:
- Throws:
IOException
-
nameSet
Set<String> nameSet(Theme.Type type)
Returns a set of all theme names for the specified type.- Parameters:
type
-- Returns:
-
isCacheEnabled
boolean isCacheEnabled()
-
clearCache
void clearCache()
-
-