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 Summary
Modifier and TypeMethodDescriptiongetWarning
(BeanDefinitionRegistry registry) Returns a warning if the check fails ornull
if there are no problems.
-
Method Details
-
getWarning
Returns a warning if the check fails ornull
if there are no problems.- Parameters:
registry
- theBeanDefinitionRegistry
- Returns:
- a warning message or
null
-