Class AbstractNestedCondition
java.lang.Object
org.springframework.boot.autoconfigure.condition.SpringBootCondition
org.springframework.boot.autoconfigure.condition.AbstractNestedCondition
- All Implemented Interfaces:
org.springframework.context.annotation.Condition,org.springframework.context.annotation.ConfigurationCondition
- Direct Known Subclasses:
AllNestedConditions,AnyNestedCondition,NoneNestedConditions
public abstract class AbstractNestedCondition
extends SpringBootCondition
implements org.springframework.context.annotation.ConfigurationCondition
Abstract base class for nested conditions.
- Since:
- 1.5.22
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classNested classes/interfaces inherited from interface org.springframework.context.annotation.ConfigurationCondition
org.springframework.context.annotation.ConfigurationCondition.ConfigurationPhase -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.context.annotation.ConfigurationCondition.ConfigurationPhaseprotected abstract ConditionOutcomegetFinalMatchOutcome(AbstractNestedCondition.MemberMatchOutcomes memberOutcomes) getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) Determine the outcome of the match along with suitable log output.Methods inherited from class org.springframework.boot.autoconfigure.condition.SpringBootCondition
anyMatches, logOutcome, matches, matchesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.annotation.Condition
matches
-
Method Details
-
getConfigurationPhase
public org.springframework.context.annotation.ConfigurationCondition.ConfigurationPhase getConfigurationPhase()- Specified by:
getConfigurationPhasein interfaceorg.springframework.context.annotation.ConfigurationCondition
-
getMatchOutcome
public ConditionOutcome getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) Description copied from class:SpringBootConditionDetermine the outcome of the match along with suitable log output.- Specified by:
getMatchOutcomein classSpringBootCondition- Parameters:
context- the condition contextmetadata- the annotation metadata- Returns:
- the condition outcome
-
getFinalMatchOutcome
protected abstract ConditionOutcome getFinalMatchOutcome(AbstractNestedCondition.MemberMatchOutcomes memberOutcomes)
-