类 ClassPathChangedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.boot.devtools.classpath.ClassPathChangedEvent
- 所有已实现的接口:
Serializable
ApplicationEvent
containing details of a classpath change.- 从以下版本开始:
- 1.3.0
- 作者:
- Phillip Webb
- 另请参阅:
-
字段概要
从类继承的字段 java.util.EventObject
source
-
构造器概要
构造器构造器说明ClassPathChangedEvent
(Object source, Set<ChangedFiles> changeSet, boolean restartRequired) Create a newClassPathChangedEvent
. -
方法概要
从类继承的方法 org.springframework.context.ApplicationEvent
getTimestamp
从类继承的方法 java.util.EventObject
getSource
-
构造器详细资料
-
ClassPathChangedEvent
Create a newClassPathChangedEvent
.- 参数:
source
- the source of the eventchangeSet
- the changed filesrestartRequired
- if a restart is required due to the change
-
-
方法详细资料
-
getChangeSet
Return details of the files that changed.- 返回:
- the changed files
-
isRestartRequired
public boolean isRestartRequired()Return if an application restart is required due to the change.- 返回:
- if an application restart is required
-
toString
- 覆盖:
toString
在类中EventObject
-
overview
Return an overview of the changes that triggered this event.- 返回:
- an overview of the changes
- 从以下版本开始:
- 2.6.11
-