Class DefaultShellApplicationRunner

java.lang.Object
org.springframework.shell.DefaultShellApplicationRunner
All Implemented Interfaces:
org.springframework.boot.ApplicationRunner, ShellApplicationRunner

@Order(0) public class DefaultShellApplicationRunner extends Object implements ShellApplicationRunner
Default ShellApplicationRunner which dispatches to the first ordered ShellRunner able to handle the shell.
  • Field Details

    • PRECEDENCE

      public static final int PRECEDENCE
      The precedence at which this runner is executed with respect to other ApplicationRunner beans
      See Also:
  • Constructor Details

    • DefaultShellApplicationRunner

      public DefaultShellApplicationRunner(List<ShellRunner> shellRunners)
  • Method Details

    • run

      public void run(org.springframework.boot.ApplicationArguments args) throws Exception
      Specified by:
      run in interface org.springframework.boot.ApplicationRunner
      Throws:
      Exception