インターフェースの使用
org.springframework.shell.core.InputReader
InputReader を使用するパッケージ
パッケージ
説明
コマンドが実際に実装される方法に関係なく、Spring Shell のコアクラスが含まれます。
JLine ライブラリを利用して Spring Shell REPL にフックするクラスが含まれています。
org.springframework.shell.core 内の InputReader 使用
InputReader を実装している org.springframework.shell.core のクラスInputReader を返す org.springframework.shell.core のメソッド修飾子と型メソッド説明abstract InputReaderInteractiveShellRunner.getReader()入力リーダーを取得します。SystemShellRunner.getReader()org.springframework.shell.core.command 内の InputReader 使用
型 InputReader のパラメーターを持つ org.springframework.shell.core.command のコンストラクター修飾子コンストラクター説明CommandContext(ParsedInput parsedInput, CommandRegistry commandRegistry, PrintWriterSE outputWriter, InputReader inputReader) CommandContextレコードクラスのインスタンスを作成します。org.springframework.shell.jline 内の InputReader 使用
InputReader を実装している org.springframework.shell.jline のクラスInputReader を返す org.springframework.shell.jline のメソッド