Interface ConfigurationCondition
- All Superinterfaces:
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.- Since:
- 4.0
- Author:
- Phillip Webb
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe various configuration phases where the condition could be evaluated. -
Method Summary
Modifier and TypeMethodDescriptionReturn theConfigurationCondition.ConfigurationPhasein which the condition should be evaluated.
-
Method Details
-
getConfigurationPhase
ConfigurationCondition.ConfigurationPhase getConfigurationPhase()Return theConfigurationCondition.ConfigurationPhasein which the condition should be evaluated.
-