Class AbstractNestedCondition
java.lang.Object
org.springframework.boot.autoconfigure.condition.SpringBootCondition
org.springframework.boot.autoconfigure.condition.AbstractNestedCondition
- All Implemented Interfaces:
Condition
,ConfigurationCondition
- Direct Known Subclasses:
AllNestedConditions
,AnyNestedCondition
,NoneNestedConditions
public abstract class AbstractNestedCondition
extends SpringBootCondition
implements ConfigurationCondition
Abstract base class for nested conditions.
- Since:
- 1.5.22
- Author:
- Phillip Webb
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
Nested classes/interfaces inherited from interface org.springframework.context.annotation.ConfigurationCondition
ConfigurationCondition.ConfigurationPhase
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ConditionOutcome
getFinalMatchOutcome
(AbstractNestedCondition.MemberMatchOutcomes memberOutcomes) getMatchOutcome
(ConditionContext context, 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, matches
-
Method Details
-
getConfigurationPhase
- Specified by:
getConfigurationPhase
in interfaceConfigurationCondition
-
getMatchOutcome
Description copied from class:SpringBootCondition
Determine the outcome of the match along with suitable log output.- Specified by:
getMatchOutcome
in classSpringBootCondition
- Parameters:
context
- the condition contextmetadata
- the annotation metadata- Returns:
- the condition outcome
-
getFinalMatchOutcome
protected abstract ConditionOutcome getFinalMatchOutcome(AbstractNestedCondition.MemberMatchOutcomes memberOutcomes)
-