クラス BaseConfirmationInput
java.lang.ObjectSE
org.springframework.shell.component.flow.BaseInput<ConfirmationInputSpec>
org.springframework.shell.component.flow.BaseConfirmationInput
- 実装済みのインターフェース一覧:
org.springframework.core.Ordered、BaseInputSpec<ConfirmationInputSpec>、ConfirmationInputSpec
- 既知の直属サブクラス
DefaultConfirmationInputSpec
public abstract class BaseConfirmationInput
extends BaseInput<ConfirmationInputSpec>
implements ConfirmationInputSpec
ConfirmationInputSpec の基本実装。フィールド概要
インターフェース org.springframework.core.Ordered から継承されたフィールド
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCEコンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明and()親ビルダーをビルドして返します。defaultValue(BooleanSE defaultValue) デフォルト値を設定します。booleangetName()getNext()FunctionSE<ConfirmationInput.ConfirmationInputContext,ListSE<org.jline.utils.AttributedString>> getThis()型付けされた子を取得するための通常のこのトリック。boolean名前を設定します。次のコンポーネントの ID を返す関数を定義します。実行後のコンテキストハンドラーを追加します。実行前のコンテキストハンドラーを追加します。renderer(FunctionSE<ConfirmationInput.ConfirmationInputContext, ListSE<org.jline.utils.AttributedString>> renderer) レンダラー関数を設定します。resultMode(ResultMode resultMode) 結果モードを設定します。resultValue(BooleanSE resultValue) 結果値を設定します。storeResult(boolean store) ビルダーに与えられたキーを使用して、ConfirmationInput.ConfirmationInputContextからの結果をComponentContextに自動的に格納します。デフォルトのレンダラーテンプレートの場所を設定します。クラス org.springframework.shell.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.component.flow.BaseInputSpec から継承されたメソッド
order
コンストラクターの詳細
BaseConfirmationInput
方法の詳細
name
インターフェースからコピーされた説明:ConfirmationInputSpec名前を設定します。- 次で指定:
- インターフェース
ConfirmationInputSpec内のname - パラメーター:
name- 名前- 戻り値:
- ビルド業者
resultValue
インターフェースからコピーされた説明:ConfirmationInputSpec結果値を設定します。- 次で指定:
- インターフェース
ConfirmationInputSpec内のresultValue - パラメーター:
resultValue- 結果値- 戻り値:
- ビルド業者
resultMode
インターフェースからコピーされた説明:ConfirmationInputSpec結果モードを設定します。- 次で指定:
- インターフェース
ConfirmationInputSpec内のresultMode - パラメーター:
resultMode- 結果モード- 戻り値:
- ビルド業者
defaultValue
インターフェースからコピーされた説明:ConfirmationInputSpecデフォルト値を設定します。- 次で指定:
- インターフェース
ConfirmationInputSpec内のdefaultValue - パラメーター:
defaultValue- デフォルト値- 戻り値:
- ビルド業者
renderer
public ConfirmationInputSpec renderer(FunctionSE<ConfirmationInput.ConfirmationInputContext, ListSE<org.jline.utils.AttributedString>> renderer) インターフェースからコピーされた説明:ConfirmationInputSpecレンダラー関数を設定します。- 次で指定:
- インターフェース
ConfirmationInputSpec内のrenderer - パラメーター:
renderer- レンダラー- 戻り値:
- ビルド業者
template
インターフェースからコピーされた説明:ConfirmationInputSpecデフォルトのレンダラーテンプレートの場所を設定します。- 次で指定:
- インターフェース
ConfirmationInputSpec内のtemplate - パラメーター:
location- テンプレートの場所- 戻り値:
- ビルド業者
preHandler
public ConfirmationInputSpec preHandler(ConsumerSE<ConfirmationInput.ConfirmationInputContext> handler) インターフェースからコピーされた説明:ConfirmationInputSpec実行前のコンテキストハンドラーを追加します。- 次で指定:
- インターフェース
ConfirmationInputSpec内のpreHandler - パラメーター:
handler- コンテキストハンドラー- 戻り値:
- ビルド業者
postHandler
public ConfirmationInputSpec postHandler(ConsumerSE<ConfirmationInput.ConfirmationInputContext> handler) インターフェースからコピーされた説明:ConfirmationInputSpec実行後のコンテキストハンドラーを追加します。- 次で指定:
- インターフェース
ConfirmationInputSpec内のpostHandler - パラメーター:
handler- コンテキストハンドラー- 戻り値:
- ビルド業者
storeResult
インターフェースからコピーされた説明:ConfirmationInputSpecビルダーに与えられたキーを使用して、ConfirmationInput.ConfirmationInputContextからの結果をComponentContextに自動的に格納します。デフォルトはtrueです。- 次で指定:
- インターフェース
ConfirmationInputSpec内のstoreResult - パラメーター:
store- 結果を格納する場合のフラグ- 戻り値:
- ビルド業者
next
public ConfirmationInputSpec next(FunctionSE<ConfirmationInput.ConfirmationInputContext, StringSE> next) インターフェースからコピーされた説明:ConfirmationInputSpec次のコンポーネントの ID を返す関数を定義します。nullまたは存在しない ID を返すことは、フローを停止する必要があることを示します。- 次で指定:
- インターフェース
ConfirmationInputSpec内のnext - パラメーター:
next- 次のコンポーネント関数- 戻り値:
- ビルド業者
and
インターフェースからコピーされた説明:ConfirmationInputSpec親ビルダーをビルドして返します。- 次で指定:
- インターフェース
ConfirmationInputSpec内のand - 戻り値:
- 親ビルダー
getThis
インターフェースからコピーされた説明:BaseInputSpec型付けされた子を取得するための通常のこのトリック。- 次で指定:
- インターフェース
BaseInputSpec<ConfirmationInputSpec>内のgetThis - 戻り値:
- ビルド業者
getName
getDefaultValue
public boolean getDefaultValue()getResultValue
getResultMode
getRenderer
public FunctionSE<ConfirmationInput.ConfirmationInputContext,ListSE<org.jline.utils.AttributedString>> getRenderer()getTemplateLocation
getPreHandlers
getPostHandlers
isStoreResult
public boolean isStoreResult()getNext