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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getWarning(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
Returns a warning if the check fails ornull
if there are no problems.
Method Detail
getWarning
String getWarning(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
Returns a warning if the check fails ornull
if there are no problems.- Parameters:
registry
- theBeanDefinitionRegistry
- Returns:
- a warning message or
null