接口 ConfigurationCondition
- 所有超级接口:
Condition
public interface ConfigurationCondition extends Condition
AConditionthat offers more fine-grained control when used with@Configuration. Allows certainConditions to adapt when they match based on the configuration phase. For example, a condition that checks if a bean has already been registered might choose to only be evaluated during theREGISTER_BEANConfigurationCondition.ConfigurationPhase.- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb
- 另请参阅:
Configuration
嵌套类概要
嵌套类 修饰符和类型 接口 说明 static classConfigurationCondition.ConfigurationPhaseThe various configuration phases where the condition could be evaluated.
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 ConfigurationCondition.ConfigurationPhasegetConfigurationPhase()Return theConfigurationCondition.ConfigurationPhasein which the condition should be evaluated.
方法详细资料
getConfigurationPhase
ConfigurationCondition.ConfigurationPhase getConfigurationPhase()
Return theConfigurationCondition.ConfigurationPhasein which the condition should be evaluated.