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.
|
getTimestamp
getSource, toString
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()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.