public abstract class ResourceCondition extends SpringBootCondition
SpringBootCondition は、構成可能なプロパティとオプションのデフォルトの場所を使用してリソースが見つかるかどうかを確認するために使用されていました。| 修飾子 | コンストラクターと説明 |
|---|---|
protected | ResourceCondition(StringSE name, StringSE property, StringSE... resourceLocations) 新しい条件を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
ConditionOutcome | getMatchOutcome(ConditionContext context, AnnotatedTypeMetadata metadata) 適切なログ出力とともに、一致の結果を決定します。 |
protected ConditionOutcome | getResourceOutcome(ConditionContext context, AnnotatedTypeMetadata metadata) デフォルトのリソースロケーションの 1 つが実際に存在するかどうかを確認します。 |
protected ConditionMessage.Builder | startConditionMessage() |
anyMatches, logOutcome, matches, matchescloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic ConditionOutcome getMatchOutcome(ConditionContext context, AnnotatedTypeMetadata metadata)
SpringBootConditionSpringBootCondition の getMatchOutcome context - 条件コンテキスト metadata - アノテーションメタデータ protected ConditionOutcome getResourceOutcome(ConditionContext context, AnnotatedTypeMetadata metadata)
context - 条件コンテキスト metadata - アノテーションメタデータ protected final ConditionMessage.Builder startConditionMessage()