接口 ConfigurationCondition
- 所有超级接口:
Condition
A
Condition that offers more fine-grained control when used with
@Configuration. Allows certain conditions 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 the
REGISTER_BEAN ConfigurationCondition.ConfigurationPhase.- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb
- 另请参阅:
-
嵌套类概要
嵌套类修饰符和类型接口说明static enumThe various configuration phases where the condition could be evaluated. -
方法概要
修饰符和类型方法说明Return theConfigurationCondition.ConfigurationPhasein which the condition should be evaluated.
-
方法详细资料
-
getConfigurationPhase
ConfigurationCondition.ConfigurationPhase getConfigurationPhase()Return theConfigurationCondition.ConfigurationPhasein which the condition should be evaluated.
-