インターフェース StringInputSpec

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

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

    • name

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

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

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

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

      StringInputSpec maskCharacter(CharacterSE maskCharacter)
      マスク文字を設定します。
      パラメーター:
      maskCharacter - マスクのキャラクター
      戻り値:
      ビルド業者
    • renderer

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

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

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

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

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

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

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