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
  • Method Details

    • getConfigurationPhase

      public org.springframework.context.annotation.ConfigurationCondition.ConfigurationPhase getConfigurationPhase()
      Specified by:
      getConfigurationPhase in interface org.springframework.context.annotation.ConfigurationCondition
    • getMatchOutcome

      public ConditionOutcome getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
      Description copied from class: SpringBootCondition
      Determine the outcome of the match along with suitable log output.
      Specified by:
      getMatchOutcome in class SpringBootCondition
      Parameters:
      context - the condition context
      metadata - the annotation metadata
      Returns:
      the condition outcome
    • getFinalMatchOutcome

      protected abstract ConditionOutcome getFinalMatchOutcome(AbstractNestedCondition.MemberMatchOutcomes memberOutcomes)