インターフェース ComponentFlow.Builder

すべての既知の実装クラス:
ComponentFlow.BaseBuilderComponentFlow.DefaultBuilder
含まれているインターフェース:
ComponentFlow

public static interface ComponentFlow.Builder
ウィザードビルダーのインターフェース。
  • メソッドの詳細

    • withStringInput

      StringInputSpec withStringInput(StringSE id)
      文字列入力用のビルダーを取得します。
      パラメーター:
      id - 識別子
      戻り値:
      文字列入力のビルダー
    • withNumberInput

      NumberInputSpec withNumberInput(StringSE id)
      数値入力用のビルダーを取得します。
      パラメーター:
      id - 識別子
      戻り値:
      数値入力用のビルダー
    • withPathInput

      PathInputSpec withPathInput(StringSE id)
      パス入力のビルダーを取得します。
      パラメーター:
      id - 識別子
      戻り値:
      テキスト入力用ビルダー
    • withConfirmationInput

      ConfirmationInputSpec withConfirmationInput(StringSE id)
      確認入力用のビルダーを取得します。
      パラメーター:
      id - 識別子
      戻り値:
      テキスト入力用ビルダー
    • withSingleItemSelector

      SingleItemSelectorSpec withSingleItemSelector(StringSE id)
      単一項目セレクターのビルダーを取得します。
      パラメーター:
      id - 識別子
      戻り値:
      単一項目セレクターのビルダー
    • withMultiItemSelector

      MultiItemSelectorSpec withMultiItemSelector(StringSE id)
      マルチアイテムセレクターのビルダーを取得します。
      パラメーター:
      id - 識別子
      戻り値:
      マルチアイテムセレクターのビルダー
    • terminal

      ComponentFlow.Builder terminal(@Nullable org.jline.terminal.Terminal terminal)
      Terminal を設定します。
      パラメーター:
      terminal - ターミナル
      戻り値:
      ビルド業者
    • resourceLoader

      ComponentFlow.Builder resourceLoader(@Nullable org.springframework.core.io.ResourceLoader resourceLoader)
      ResourceLoader を設定します。
      パラメーター:
      resourceLoader - リソースローダー
      戻り値:
      ビルド業者
    • templateExecutor

      ComponentFlow.Builder templateExecutor(@Nullable TemplateExecutor templateExecutor)
      TemplateExecutor を設定します。
      パラメーター:
      templateExecutor - テンプレート実行者
      戻り値:
      ビルド業者
    • clone

      既存のビルダーを複製します。
      戻り値:
      ビルド業者
    • reset

      既存のビルダーをリセットします。
      戻り値:
      ビルド業者
    • build

      ComponentFlow build()
      入力ウィザードのインスタンスを構築します。
      戻り値:
      入力ウィザードのインスタンス