Class StandardCommandsAutoConfiguration

java.lang.Object
org.springframework.shell.boot.StandardCommandsAutoConfiguration

@AutoConfiguration @ConditionalOnClass(Command.class) @EnableConfigurationProperties(SpringShellProperties.class) public class StandardCommandsAutoConfiguration extends Object
Creates beans for standard commands.
  • Constructor Details

    • StandardCommandsAutoConfiguration

      public StandardCommandsAutoConfiguration()
  • Method Details

    • help

      @Bean @ConditionalOnMissingBean(Command.class) @ConditionalOnProperty(prefix="spring.shell.command.help", value="enabled", havingValue="true", matchIfMissing=true) public Help help(SpringShellProperties properties, org.springframework.beans.factory.ObjectProvider<TemplateExecutor> templateExecutor)
    • clear

      @Bean @ConditionalOnMissingBean(Command.class) @ConditionalOnProperty(prefix="spring.shell.command.clear", value="enabled", havingValue="true", matchIfMissing=true) public Clear clear()
    • quit

      @Bean @ConditionalOnMissingBean(Command.class) @ConditionalOnProperty(prefix="spring.shell.command.quit", value="enabled", havingValue="true", matchIfMissing=true) public Quit quit()
    • stacktrace

      @Bean @ConditionalOnMissingBean(Command.class) @ConditionalOnProperty(prefix="spring.shell.command.stacktrace", value="enabled", havingValue="true", matchIfMissing=true) public Stacktrace stacktrace(org.springframework.beans.factory.ObjectProvider<ThrowableResultHandler> throwableResultHandler)
    • script

      @Bean @ConditionalOnMissingBean(Command.class) @ConditionalOnProperty(prefix="spring.shell.command.script", value="enabled", havingValue="true", matchIfMissing=true) public Script script(org.jline.reader.Parser parser)
    • historyCommand

      @Bean @ConditionalOnMissingBean(Command.class) @ConditionalOnProperty(prefix="spring.shell.command.history", value="enabled", havingValue="true", matchIfMissing=true) public History historyCommand(org.jline.reader.History jLineHistory)
    • completion

      @Bean @ConditionalOnMissingBean(Command.class) @Conditional(OnCompletionCommandCondition.class) public Completion completion(SpringShellProperties properties)
    • version

      @Bean @ConditionalOnMissingBean(Command.class) @ConditionalOnProperty(prefix="spring.shell.command.version", value="enabled", havingValue="true", matchIfMissing=true) public Version version(SpringShellProperties properties, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.info.BuildProperties> buildProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.info.GitProperties> gitProperties, org.springframework.beans.factory.ObjectProvider<TemplateExecutor> templateExecutor)