public class OnPropertyListCondition extends SpringBootCondition
Condition
。修飾子 | コンストラクターと説明 |
---|---|
protected | OnPropertyListCondition(StringSE propertyName, SupplierSE<ConditionMessage.Builder> messageBuilder) チェックするプロパティと使用するメッセージビルダーで新しいインスタンスを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
ConditionOutcome | getMatchOutcome(ConditionContext context, AnnotatedTypeMetadata metadata) 適切なログ出力とともに、一致の結果を決定します。 |
anyMatches, logOutcome, matches, matches
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
protected OnPropertyListCondition(StringSE propertyName, SupplierSE<ConditionMessage.Builder> messageBuilder)
propertyName
- プロパティの名前 messageBuilder
- 呼び出しごとに新しいインスタンスを提供する必要があるメッセージビルダーサプライヤー public ConditionOutcome getMatchOutcome(ConditionContext context, AnnotatedTypeMetadata metadata)
SpringBootCondition
SpringBootCondition
の getMatchOutcome
context
- 条件コンテキスト metadata
- アノテーションメタデータ Copyright © 2019 Pivotal Software, Inc.. All rights reserved.