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
Nested ClassesModifier and TypeClassDescriptionprotected static classNested classes/interfaces inherited from interface org.springframework.context.annotation.ConfigurationCondition
ConfigurationCondition.ConfigurationPhase -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ConditionOutcomegetFinalMatchOutcome(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:
getConfigurationPhasein interfaceConfigurationCondition
-
getMatchOutcome
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)
-