クラス InteractiveShellRunner

java.lang.ObjectSE
org.springframework.shell.jline.InteractiveShellRunner
実装済みのインターフェース一覧:
ShellRunner

@Order(0) public class InteractiveShellRunner extends ObjectSE implements ShellRunner
対話モードでシェルをブートストラップする ShellRunner。

ScriptShellRunner および NonInteractiveShellRunner よりも優先順位が低いため、他のランナーがシェルの処理をオプトアウトした場合にデフォルトのシェルランナーになります。

  • ネストされたクラスの概要

    ネストされたクラス
    修飾子と型
    クラス
    説明
    static class
  • フィールド概要

    フィールド
    修飾子と型
    フィールド
    説明
    static final int
    このランナーが DefaultApplicationRunner によって順序付けられる優先順位 - これは、現在のシェルを処理する機能について参照される順序も制御します。
  • コンストラクター概要

    コンストラクター
    コンストラクター
    説明
    InteractiveShellRunner(org.jline.reader.LineReader lineReader, PromptProvider promptProvider, Shell shell, ShellContext shellContext)
  • 方法の概要

    修飾子と型
    メソッド
    説明
    boolean
    run(StringSE[] args)
    指定された引数で ShellRunner を実行します。

    クラス java.lang.ObjectSE から継承されたメソッド

    clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE

    インターフェース org.springframework.shell.ShellRunner から継承されたメソッド

    canRun, run
  • フィールドの詳細

    • PRECEDENCE

      public static final int PRECEDENCE
      このランナーが DefaultApplicationRunner によって順序付けられる優先順位 - これは、現在のシェルを処理する機能について参照される順序も制御します。
      関連事項:
  • コンストラクターの詳細

    • InteractiveShellRunner

      public InteractiveShellRunner(org.jline.reader.LineReader lineReader, PromptProvider promptProvider, Shell shell, ShellContext shellContext)
  • 方法の詳細

    • run

      public boolean run(StringSE[] args) throws ExceptionSE
      インターフェースからコピーされた説明: ShellRunner
      指定された引数で ShellRunner を実行します。戻り値は、実行操作が実行されたかどうか、およびそれ以上のランナーを使用する必要がないかどうかを示します。
      次で指定:
      インターフェース ShellRunner 内の run 
      パラメーター:
      args - 生の議論
      戻り値:
      実行が実行された場合は true
      例外:
      ExceptionSE - 実行中にエラーが発生する可能性あり