Package org.springframework.shell.style
Class ThemeRegistry
java.lang.Object
org.springframework.shell.style.ThemeRegistry
Registry which stores
Theme
's with its name.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ThemeRegistry
public ThemeRegistry()
-
-
Method Details
-
get
Gets a theme from a registry.- Parameters:
name
- the theme name- Returns:
- a theme
-
register
Register a theme.- Parameters:
theme
- the theme
-