インターフェース PathInputSpec

すべてのスーパーインターフェース:
BaseInputSpec<PathInputSpec>
すべての既知の実装クラス:
BasePathInputDefaultPathInputSpec

public interface PathInputSpec extends BaseInputSpec<PathInputSpec>
パス入力仕様ビルダーのインターフェース。
  • メソッドの詳細

    • name

      PathInputSpec name(StringSE name)
      名前を設定します。
      パラメーター:
      name - 名前
      戻り値:
      ビルド業者
    • resultValue

      PathInputSpec resultValue(StringSE resultValue)
      結果値を設定します。
      パラメーター:
      resultValue - 結果値
      戻り値:
      ビルド業者
    • resultMode

      PathInputSpec resultMode(ResultMode resultMode)
      結果モードを設定します。
      パラメーター:
      resultMode - 結果モード
      戻り値:
      ビルド業者
    • defaultValue

      PathInputSpec defaultValue(StringSE defaultValue)
      デフォルト値を設定します。
      パラメーター:
      defaultValue - デフォルト値
      戻り値:
      ビルド業者
    • renderer

      PathInputSpec renderer(FunctionSE<PathInput.PathInputContext,ListSE<org.jline.utils.AttributedString>> renderer)
      レンダラー関数を設定します。
      パラメーター:
      renderer - レンダラー
      戻り値:
      ビルド業者
    • template

      PathInputSpec template(StringSE location)
      デフォルトのレンダラーテンプレートの場所を設定します。
      パラメーター:
      location - テンプレートの場所
      戻り値:
      ビルド業者
    • preHandler

      実行前のコンテキストハンドラーを追加します。
      パラメーター:
      handler - コンテキストハンドラー
      戻り値:
      ビルド業者
    • postHandler

      実行後のコンテキストハンドラーを追加します。
      パラメーター:
      handler - コンテキストハンドラー
      戻り値:
      ビルド業者
    • storeResult

      PathInputSpec storeResult(boolean store)
      ビルダーに与えられたキーを使用して、StringInput.StringInputContext からの結果を ComponentContext に自動的に格納します。デフォルトは true です。
      パラメーター:
      store - 結果を格納する場合のフラグ
      戻り値:
      ビルド業者
    • next

      次のコンポーネントの ID を返す関数を定義します。null または存在しない ID を返すことは、フローを停止する必要があることを示します。
      パラメーター:
      next - 次のコンポーネント関数
      戻り値:
      ビルド業者
    • and

      親ビルダーをビルドして返します。
      戻り値:
      親ビルダー