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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)