クラス OnPropertyListCondition
java.lang.ObjectSE
org.springframework.boot.autoconfigure.condition.SpringBootCondition
org.springframework.boot.autoconfigure.condition.OnPropertyListCondition
- 実装されているすべてのインターフェース:
Condition
値がリストであるプロパティが環境で定義されているかどうかをチェックする
Condition。- 導入:
- 2.0.5
- 作成者:
- Eneias Silva, Stephane Nicoll
コンストラクターの概要
コンストラクター修飾子コンストラクター説明protectedOnPropertyListCondition(StringSE propertyName, SupplierSE<ConditionMessage.Builder> messageBuilder) チェックするプロパティと使用するメッセージビルダーで新しいインスタンスを作成します。メソッドのサマリー
修飾子と型メソッド説明getMatchOutcome(ConditionContext context, AnnotatedTypeMetadata metadata) 適切なログ出力とともに、一致の結果を決定します。クラス org.springframework.boot.autoconfigure.condition.SpringBootCondition から継承されたメソッド
anyMatches, logOutcome, matches, matches
コンストラクターの詳細
OnPropertyListCondition
protected OnPropertyListCondition(StringSE propertyName, SupplierSE<ConditionMessage.Builder> messageBuilder) チェックするプロパティと使用するメッセージビルダーで新しいインスタンスを作成します。- パラメーター:
propertyName- プロパティの名前messageBuilder- 呼び出しごとに新しいインスタンスを提供する必要があるメッセージビルダーサプライヤー
メソッドの詳細
getMatchOutcome
クラスからコピーされた説明:SpringBootCondition適切なログ出力とともに、一致の結果を決定します。- 次で指定:
- クラス
SpringBootConditionのgetMatchOutcome - パラメーター:
context- 条件コンテキストmetadata- アノテーションメタデータ- 戻り値:
- 状態の結果