public class ClassPathChangedEvent extends ApplicationEvent
ApplicationEvent
containing details of a classpath change.ClassPathFileChangeListener
,
Serialized Formsource
Constructor and Description |
---|
ClassPathChangedEvent(Object source,
Set<ChangedFiles> changeSet,
boolean restartRequired)
Create a new
ClassPathChangedEvent . |
Modifier and Type | Method and Description |
---|---|
Set<ChangedFiles> |
getChangeSet()
Return details of the files that changed.
|
boolean |
isRestartRequired()
Return if an application restart is required due to the change.
|
String |
overview()
Return an overview of the changes that triggered this event.
|
String |
toString() |
getTimestamp
getSource
public ClassPathChangedEvent(Object source, Set<ChangedFiles> changeSet, boolean restartRequired)
ClassPathChangedEvent
.source
- the source of the eventchangeSet
- the changed filesrestartRequired
- if a restart is required due to the changepublic Set<ChangedFiles> getChangeSet()
public boolean isRestartRequired()
public String toString()
toString
in class EventObject
public String overview()