Class ClassPathChangedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.boot.devtools.classpath.ClassPathChangedEvent
- All Implemented Interfaces:
- Serializable
ApplicationEvent containing details of a classpath change.- Since:
- 1.3.0
- Author:
- Phillip Webb
- See Also:
- 
- ClassPathFileChangeListener
- Serialized Form
 
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionClassPathChangedEvent(Object source, Set<ChangedFiles> changeSet, boolean restartRequired) Create a newClassPathChangedEvent.
- 
Method SummaryMethods inherited from class org.springframework.context.ApplicationEventgetTimestampMethods inherited from class java.util.EventObjectgetSource
- 
Constructor Details- 
ClassPathChangedEventCreate a newClassPathChangedEvent.- Parameters:
- source- the source of the event
- changeSet- the changed files
- restartRequired- if a restart is required due to the change
 
 
- 
- 
Method Details- 
getChangeSetReturn details of the files that changed.- Returns:
- the changed files
 
- 
isRestartRequiredpublic boolean isRestartRequired()Return if an application restart is required due to the change.- Returns:
- if an application restart is required
 
- 
toString- Overrides:
- toStringin class- EventObject
 
- 
overviewReturn an overview of the changes that triggered this event.- Returns:
- an overview of the changes
- Since:
- 2.6.11
 
 
-