Package org.springframework.shell.boot
Class ThemingAutoConfiguration
java.lang.Object
org.springframework.shell.boot.ThemingAutoConfiguration
@AutoConfiguration
@EnableConfigurationProperties(SpringShellProperties.class)
public class ThemingAutoConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.shell.style.ThemeResolver
shellThemeResolver
(org.springframework.shell.style.ThemeRegistry themeRegistry, SpringShellProperties properties, org.springframework.shell.style.ThemeActive themeActive) org.springframework.shell.style.TemplateExecutor
templateExecutor
(org.springframework.shell.style.ThemeResolver themeResolver) org.springframework.shell.style.ThemeActive
org.springframework.shell.style.ThemeRegistry
themeRegistry
(org.springframework.beans.factory.ObjectProvider<org.springframework.shell.style.Theme> themes)
-
Constructor Details
-
ThemingAutoConfiguration
public ThemingAutoConfiguration()
-
-
Method Details
-
themeActive
@Bean @ConditionalOnMissingBean public org.springframework.shell.style.ThemeActive themeActive() -
themeRegistry
@Bean public org.springframework.shell.style.ThemeRegistry themeRegistry(org.springframework.beans.factory.ObjectProvider<org.springframework.shell.style.Theme> themes) -
shellThemeResolver
@Bean public org.springframework.shell.style.ThemeResolver shellThemeResolver(org.springframework.shell.style.ThemeRegistry themeRegistry, SpringShellProperties properties, org.springframework.shell.style.ThemeActive themeActive) -
templateExecutor
@Bean public org.springframework.shell.style.TemplateExecutor templateExecutor(org.springframework.shell.style.ThemeResolver themeResolver)
-