类 AbstractNestedCondition
- java.lang.Object
- org.springframework.boot.autoconfigure.condition.SpringBootCondition
- org.springframework.boot.autoconfigure.condition.AbstractNestedCondition
- 所有已实现的接口:
org.springframework.context.annotation.Condition
,org.springframework.context.annotation.ConfigurationCondition
public abstract class AbstractNestedCondition extends SpringBootCondition implements org.springframework.context.annotation.ConfigurationCondition
Abstract base class for nested conditions.- 从以下版本开始:
- 2.0.1
嵌套类概要
嵌套类 修饰符和类型 类 说明 protected static class
AbstractNestedCondition.MemberMatchOutcomes
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 org.springframework.context.annotation.ConfigurationCondition.ConfigurationPhase
getConfigurationPhase()
protected abstract ConditionOutcome
getFinalMatchOutcome(AbstractNestedCondition.MemberMatchOutcomes memberOutcomes)
ConditionOutcome
getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
Determine the outcome of the match along with suitable log output.从类继承的方法 org.springframework.boot.autoconfigure.condition.SpringBootCondition
anyMatches, logOutcome, matches, matches
方法详细资料
getConfigurationPhase
public org.springframework.context.annotation.ConfigurationCondition.ConfigurationPhase getConfigurationPhase()
- 指定者:
getConfigurationPhase
在接口中org.springframework.context.annotation.ConfigurationCondition
getMatchOutcome
public ConditionOutcome getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
从类复制的说明:SpringBootCondition
Determine the outcome of the match along with suitable log output.- 指定者:
getMatchOutcome
在类中SpringBootCondition
- 参数:
context
- the condition contextmetadata
- the annotation metadata- 返回:
- the condition outcome
getFinalMatchOutcome
protected abstract ConditionOutcome getFinalMatchOutcome(AbstractNestedCondition.MemberMatchOutcomes memberOutcomes)