クラス BasePathInput
java.lang.ObjectSE
org.springframework.shell.jline.tui.component.flow.BaseInput<PathInputSpec>
org.springframework.shell.jline.tui.component.flow.BasePathInput
- 実装されているすべてのインターフェース:
org.springframework.core.Ordered、BaseInputSpec<PathInputSpec>、PathInputSpec
- 既知の直属サブクラス
DefaultPathInputSpec
PathInputSpec の基本実装。- 作成者:
- Janne Valkealahti, Piotr Olaszewski
フィールドのサマリー
インターフェース org.springframework.core.Ordered から継承されたフィールド
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCEコンストラクターの概要
コンストラクター方法の概要
修飾子と型メソッド説明and()親ビルダーをビルドして返します。defaultValue(StringSE defaultValue) デフォルト値を設定します。@Nullable StringSE@Nullable StringSEgetName()@Nullable FunctionSE<PathInput.PathInputContext,StringSE> getNext()@Nullable FunctionSE<PathInput.PathInputContext,ListSE<org.jline.utils.AttributedString>> @Nullable ResultMode@Nullable StringSE@Nullable StringSEgetThis()型付けされた子を取得するための通常のこのトリック。boolean名前を設定します。次のコンポーネントの 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.jline.tui.component.flow.BaseInput から継承されたメソッド
getBuilder, getId, getOrder, order, setOrderクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.shell.jline.tui.component.flow.BaseInputSpec から継承されたメソッド
order
コンストラクターの詳細
BasePathInput
メソッドの詳細
name
インターフェースからコピーされた説明:PathInputSpec名前を設定します。- 次で指定:
- インターフェース
PathInputSpecのname - パラメーター:
name- 名前- 戻り値:
- ビルド業者
resultValue
インターフェースからコピーされた説明:PathInputSpec結果値を設定します。- 次で指定:
- インターフェース
PathInputSpecのresultValue - パラメーター:
resultValue- 結果値- 戻り値:
- ビルド業者
resultMode
インターフェースからコピーされた説明:PathInputSpec結果モードを設定します。- 次で指定:
- インターフェース
PathInputSpecのresultMode - パラメーター:
resultMode- 結果モード- 戻り値:
- ビルド業者
defaultValue
インターフェースからコピーされた説明:PathInputSpecデフォルト値を設定します。- 次で指定:
- インターフェース
PathInputSpecのdefaultValue - パラメーター:
defaultValue- デフォルト値- 戻り値:
- ビルド業者
renderer
public PathInputSpec renderer(FunctionSE<PathInput.PathInputContext, ListSE<org.jline.utils.AttributedString>> renderer) インターフェースからコピーされた説明:PathInputSpecレンダラー関数を設定します。- 次で指定:
- インターフェース
PathInputSpecのrenderer - パラメーター:
renderer- レンダラー- 戻り値:
- ビルド業者
template
インターフェースからコピーされた説明:PathInputSpecデフォルトのレンダラーテンプレートの場所を設定します。- 次で指定:
- インターフェース
PathInputSpecのtemplate - パラメーター:
location- テンプレートの場所- 戻り値:
- ビルド業者
preHandler
インターフェースからコピーされた説明:PathInputSpec実行前のコンテキストハンドラーを追加します。- 次で指定:
- インターフェース
PathInputSpecのpreHandler - パラメーター:
handler- コンテキストハンドラー- 戻り値:
- ビルド業者
postHandler
インターフェースからコピーされた説明:PathInputSpec実行後のコンテキストハンドラーを追加します。- 次で指定:
- インターフェース
PathInputSpecのpostHandler - パラメーター:
handler- コンテキストハンドラー- 戻り値:
- ビルド業者
storeResult
インターフェースからコピーされた説明:PathInputSpec- 次で指定:
- インターフェース
PathInputSpecのstoreResult - パラメーター:
store- 結果を格納する場合のフラグ- 戻り値:
- ビルド業者
next
インターフェースからコピーされた説明:PathInputSpec次のコンポーネントの ID を返す関数を定義します。nullまたは存在しない ID を返すことは、フローを停止する必要があることを示します。- 次で指定:
- インターフェース
PathInputSpecのnext - パラメーター:
next- 次のコンポーネント関数- 戻り値:
- ビルド業者
and
インターフェースからコピーされた説明:PathInputSpec親ビルダーをビルドして返します。- 次で指定:
- インターフェース
PathInputSpecのand - 戻り値:
- 親ビルダー
getThis
インターフェースからコピーされた説明:BaseInputSpec型付けされた子を取得するための通常のこのトリック。- 次で指定:
- インターフェース
BaseInputSpec<PathInputSpec>のgetThis - 戻り値:
- ビルド業者
getName
getResultValue
getResultMode
getDefaultValue
getRenderer
public @Nullable FunctionSE<PathInput.PathInputContext,ListSE<org.jline.utils.AttributedString>> getRenderer()getTemplateLocation
getPreHandlers
getPostHandlers
isStoreResult
public boolean isStoreResult()getNext