クラス StandardCommandsAutoConfiguration

java.lang.ObjectSE
org.springframework.shell.core.autoconfigure.StandardCommandsAutoConfiguration

@AutoConfiguration @EnableConfigurationProperties(SpringShellProperties.class) public class StandardCommandsAutoConfiguration extends ObjectSE
標準コマンドの Bean を作成します。
作成者:
Eric Bottard, Mahmoud Ben Hassine, Piotr Olaszewski
  • コンストラクターの詳細

    • StandardCommandsAutoConfiguration

      public StandardCommandsAutoConfiguration()
  • 方法の詳細

    • helpCommand

      @Bean @ConditionalOnProperty(value="spring.shell.command.help.enabled", havingValue="true", matchIfMissing=true) public Command helpCommand()
    • clearCommand

      @Bean @ConditionalOnProperty(value="spring.shell.command.clear.enabled", havingValue="true", matchIfMissing=true) public Command clearCommand()
    • versionCommand

      @Bean @ConditionalOnProperty(value="spring.shell.command.version.enabled", havingValue="true", matchIfMissing=true) public Command versionCommand(SpringShellProperties shellProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.info.BuildProperties> buildProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.info.GitProperties> gitProperties)
    • scriptCommand

      @Bean @ConditionalOnProperty(value="spring.shell.command.script.enabled", havingValue="true", matchIfMissing=true) public Command scriptCommand(CommandRegistry commandRegistry)