org.springframework.boot.autoconfigure

Class AutoConfigurationImportEvent

  • All Implemented Interfaces:
    Serializable


    public class AutoConfigurationImportEvent
    extends EventObject
    Event fired when auto-configuration classes are imported.
    Since:
    1.5.0
    Author:
    Phillip Webb
    See Also:
    Serialized Form
    • Constructor Detail

      • AutoConfigurationImportEvent

        public AutoConfigurationImportEvent(Object source,
                                            List<String> candidateConfigurations,
                                            Set<String> exclusions)
    • Method Detail

      • getCandidateConfigurations

        public List<String> getCandidateConfigurations()
        Return the auto-configuration candidate configurations that are going to be imported.
        Returns:
        the auto-configuration candidates
      • getExclusions

        public Set<String> getExclusions()
        Return the exclusions that were applied.
        Returns:
        the exclusions applied