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 Type
    Method
    Description
    getWarning(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
    Returns a warning if the check fails or null if there are no problems.
  • Method Details

    • getWarning

      String getWarning(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
      Returns a warning if the check fails or null if there are no problems.
      Parameters:
      registry - the BeanDefinitionRegistry
      Returns:
      a warning message or null