Class AutoConfigurationImportEvent

java.lang.Object
java.util.EventObject
org.springframework.boot.autoconfigure.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:
  • Constructor Details

    • AutoConfigurationImportEvent

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

    • 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