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