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