Package org.springframework.shell.boot
Class SpringShellAutoConfiguration
java.lang.Object
org.springframework.shell.boot.SpringShellAutoConfiguration
@AutoConfiguration
@Import(org.springframework.shell.result.ResultHandlerConfig.class)
public class SpringShellAutoConfiguration
extends Object
Creates supporting beans for running the Shell
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.shell.ResultHandlerService
resultHandlerService
(Set<org.springframework.shell.ResultHandler<?>> resultHandlers) org.springframework.shell.Shell
shell
(org.springframework.shell.ResultHandlerService resultHandlerService, org.springframework.shell.command.CommandCatalog commandRegistry, org.jline.terminal.Terminal terminal, org.springframework.shell.config.ShellConversionServiceSupplier shellConversionServiceSupplier, org.springframework.shell.context.ShellContext shellContext, org.springframework.shell.exit.ExitCodeMappings exitCodeMappings) org.springframework.shell.config.ShellConversionServiceSupplier
shellConversionServiceSupplier
(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
SpringShellAutoConfiguration
public SpringShellAutoConfiguration()
-
-
Method Details
-
shellConversionServiceSupplier
@Bean @ConditionalOnMissingBean public org.springframework.shell.config.ShellConversionServiceSupplier shellConversionServiceSupplier(org.springframework.context.ApplicationContext applicationContext) -
resultHandlerService
@Bean public org.springframework.shell.ResultHandlerService resultHandlerService(Set<org.springframework.shell.ResultHandler<?>> resultHandlers) -
shell
@Bean public org.springframework.shell.Shell shell(org.springframework.shell.ResultHandlerService resultHandlerService, org.springframework.shell.command.CommandCatalog commandRegistry, org.jline.terminal.Terminal terminal, org.springframework.shell.config.ShellConversionServiceSupplier shellConversionServiceSupplier, org.springframework.shell.context.ShellContext shellContext, org.springframework.shell.exit.ExitCodeMappings exitCodeMappings)
-