Package org.springframework.boot.context
Interface ConfigurationWarningsApplicationContextInitializer.Check
- All Known Implementing Classes:
- ConfigurationWarningsApplicationContextInitializer.ComponentScanPackageCheck
- Enclosing class:
- ConfigurationWarningsApplicationContextInitializer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
protected static interface ConfigurationWarningsApplicationContextInitializer.Check
A single check that can be applied.
- 
Method SummaryModifier and TypeMethodDescriptiongetWarning(BeanDefinitionRegistry registry) Returns a warning if the check fails ornullif there are no problems.
- 
Method Details- 
getWarningReturns a warning if the check fails ornullif there are no problems.- Parameters:
- registry- the- BeanDefinitionRegistry
- Returns:
- a warning message or null
 
 
-