Interface ConfigurationCondition
- All Superinterfaces:
Condition
public interface ConfigurationCondition extends Condition
ACondition
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 theREGISTER_BEAN
ConfigurationCondition.ConfigurationPhase
.- Since:
- 4.0
- Author:
- Phillip Webb
- See Also:
Configuration
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ConfigurationCondition.ConfigurationPhase
The various configuration phases where the condition could be evaluated.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigurationCondition.ConfigurationPhase
getConfigurationPhase()
Return theConfigurationCondition.ConfigurationPhase
in which the condition should be evaluated.
Method Detail
getConfigurationPhase
ConfigurationCondition.ConfigurationPhase getConfigurationPhase()
Return theConfigurationCondition.ConfigurationPhase
in which the condition should be evaluated.