インターフェースの使用
org.springframework.shell.core.ShellRunner
ShellRunner を使用するパッケージ
パッケージ
説明
コマンドが実際に実装される方法に関係なく、Spring Shell のコアクラスが含まれます。
JLine ライブラリを利用して Spring Shell REPL にフックするクラスが含まれています。
org.springframework.shell.core 内の ShellRunner 使用
ShellRunner を実装している org.springframework.shell.core のクラス修飾子と型クラス説明classインタラクティブシェルランナーの基本クラス。classインタラクティブシェルモードに入ることなくコマンドを実行するShellRunner。classJVM システムConsoleSE に基づく対話型シェルランナー。org.springframework.shell.core.autoconfigure 内の ShellRunner 使用
修飾子と型メソッド説明JLineShellAutoConfiguration.jlineNonInteractiveShellRunner(CommandParser commandParser, CommandRegistry commandRegistry, org.jline.terminal.Terminal terminal) JLineShellAutoConfiguration.jlineShellRunner(JLineInputProvider inputProvider, CommandParser commandParser, CommandRegistry commandRegistry, org.springframework.core.env.Environment environment) ShellRunnerAutoConfiguration.nonInteractiveShellRunner(CommandParser commandParser, CommandRegistry commandRegistry) ShellRunnerAutoConfiguration.systemShellRunner(ConsoleInputProvider consoleInputProvider, CommandParser commandParser, CommandRegistry commandRegistry, org.springframework.core.env.Environment environment) 型 ShellRunner のパラメーターを持つ org.springframework.shell.core.autoconfigure のメソッド修飾子と型メソッド説明org.springframework.boot.ApplicationRunnerShellRunnerAutoConfiguration.springShellApplicationRunner(ShellRunner shellRunner) org.springframework.shell.jline 内の ShellRunner 使用
ShellRunner を実装している org.springframework.shell.jline のクラスShellRunner を返す org.springframework.shell.jline のメソッド修飾子と型メソッド説明DefaultJLineShellConfiguration.shellRunner(JLineInputProvider inputProvider, CommandRegistry commandRegistry)