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