インターフェース PathInputSpec
- すべてのスーパーインターフェース:
BaseInputSpec<PathInputSpec>
- すべての既知の実装クラス:
BasePathInput
,DefaultPathInputSpec
パス入力仕様ビルダーのインターフェース。
メソッドのサマリー
修飾子と型メソッド説明and()
親ビルダーをビルドして返します。defaultValue
(StringSE defaultValue) デフォルト値を設定します。名前を設定します。次のコンポーネントの ID を返す関数を定義します。postHandler
(ConsumerSE<PathInput.PathInputContext> handler) 実行後のコンテキストハンドラーを追加します。preHandler
(ConsumerSE<PathInput.PathInputContext> handler) 実行前のコンテキストハンドラーを追加します。renderer
(FunctionSE<PathInput.PathInputContext, ListSE<org.jline.utils.AttributedString>> renderer) レンダラー関数を設定します。resultMode
(ResultMode resultMode) 結果モードを設定します。resultValue
(StringSE resultValue) 結果値を設定します。storeResult
(boolean store) ビルダーに与えられたキーを使用して、StringInput.StringInputContext
からの結果をComponentContext
に自動的に格納します。デフォルトのレンダラーテンプレートの場所を設定します。インターフェース org.springframework.shell.component.flow.BaseInputSpec から継承されたメソッド
getThis, order
メソッドの詳細
name
名前を設定します。- パラメーター:
name
- 名前- 戻り値:
- ビルド業者
resultValue
結果値を設定します。- パラメーター:
resultValue
- 結果値- 戻り値:
- ビルド業者
resultMode
結果モードを設定します。- パラメーター:
resultMode
- 結果モード- 戻り値:
- ビルド業者
defaultValue
デフォルト値を設定します。- パラメーター:
defaultValue
- デフォルト値- 戻り値:
- ビルド業者
renderer
PathInputSpec renderer(FunctionSE<PathInput.PathInputContext, ListSE<org.jline.utils.AttributedString>> renderer) レンダラー関数を設定します。- パラメーター:
renderer
- レンダラー- 戻り値:
- ビルド業者
template
デフォルトのレンダラーテンプレートの場所を設定します。- パラメーター:
location
- テンプレートの場所- 戻り値:
- ビルド業者
preHandler
実行前のコンテキストハンドラーを追加します。- パラメーター:
handler
- コンテキストハンドラー- 戻り値:
- ビルド業者
postHandler
実行後のコンテキストハンドラーを追加します。- パラメーター:
handler
- コンテキストハンドラー- 戻り値:
- ビルド業者
storeResult
- パラメーター:
store
- 結果を格納する場合のフラグ- 戻り値:
- ビルド業者
next
次のコンポーネントの ID を返す関数を定義します。null
または存在しない ID を返すことは、フローを停止する必要があることを示します。- パラメーター:
next
- 次のコンポーネント関数- 戻り値:
- ビルド業者
and
ComponentFlow.Builder and()親ビルダーをビルドして返します。- 戻り値:
- 親ビルダー