org.springframework.boot.autoconfigure

Interface AutoConfigurationImportFilter

    • Method Detail

      • match

        boolean[] match(String[] autoConfigurationClasses,
                        AutoConfigurationMetadata autoConfigurationMetadata)
        Apply the filter to the given auto-configuration class candidates.
        Parameters:
        autoConfigurationClasses - the auto-configuration classes being considered. Implementations should not change the values in this array.
        autoConfigurationMetadata - access to the meta-data generated by the auto-configure annotation processor
        Returns:
        a boolean array indicating which of the auto-configuration classes should be imported. The returned array must be the same size as the incoming autoConfigurationClasses parameter. Entries containing false will not be imported.