public interface ConfigurationCondition extends Condition
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.Configuration| Modifier and Type | Interface and Description |
|---|---|
static class |
ConfigurationCondition.ConfigurationPhase
The various configuration phases where the condition could be evaluated.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigurationCondition.ConfigurationPhase |
getConfigurationPhase()
Return the
ConfigurationCondition.ConfigurationPhase in which the condition should be evaluated. |
ConfigurationCondition.ConfigurationPhase getConfigurationPhase()
ConfigurationCondition.ConfigurationPhase in which the condition should be evaluated.