@Configuration(proxyBeanMethods=false) @Import(value=org.springframework.shell.result.ResultHandlerConfig.class) public class SpringShellAutoConfiguration extends Object
| Constructor and Description |
|---|
SpringShellAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ResultHandlerService |
resultHandlerService(Set<ResultHandler<?>> resultHandlers) |
Shell |
shell(ResultHandlerService resultHandlerService,
CommandCatalog commandRegistry,
org.jline.terminal.Terminal terminal,
ShellConversionServiceSupplier shellConversionServiceSupplier,
ShellContext shellContext,
ExitCodeMappings exitCodeMappings) |
ShellConversionServiceSupplier |
shellConversionServiceSupplier(org.springframework.context.ApplicationContext applicationContext) |
@Bean @ConditionalOnMissingBean public ShellConversionServiceSupplier shellConversionServiceSupplier(org.springframework.context.ApplicationContext applicationContext)
@Bean public ResultHandlerService resultHandlerService(Set<ResultHandler<?>> resultHandlers)
@Bean public Shell shell(ResultHandlerService resultHandlerService, CommandCatalog commandRegistry, org.jline.terminal.Terminal terminal, ShellConversionServiceSupplier shellConversionServiceSupplier, ShellContext shellContext, ExitCodeMappings exitCodeMappings)
Copyright © 2023. All rights reserved.