Package org.springframework.shell.style
Interface Theme
public interface Theme
Contract representing a theme with its name and settings.
Theme
is a concept where you can request a style
by using a theme tag
.
At this point an actual style is not known as it's going to get resolved from an
enable theme
.-
Method Details
-
getName
String getName()Gets a theme name.- Returns:
- a theme name.
-
getSettings
ThemeSettings getSettings()Gets a theme settings.- Returns:
- a theme settings
-
of
Create aTheme
.- Parameters:
name
- the theme namethemeSettings
- the theme settings- Returns:
- a theme
-