类 ClassPathChangedEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.boot.devtools.classpath.ClassPathChangedEvent
所有已实现的接口:
Serializable

public class ClassPathChangedEvent extends ApplicationEvent
ApplicationEvent containing details of a classpath change.
从以下版本开始:
1.3.0
作者:
Phillip Webb
另请参阅:
  • 构造器详细资料

    • ClassPathChangedEvent

      public ClassPathChangedEvent(Object source, Set<ChangedFiles> changeSet, boolean restartRequired)
      Create a new ClassPathChangedEvent.
      参数:
      source - the source of the event
      changeSet - the changed files
      restartRequired - if a restart is required due to the change
  • 方法详细资料

    • getChangeSet

      public Set<ChangedFiles> 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

      public String toString()
      覆盖:
      toString 在类中 EventObject
    • overview

      public String overview()
      Return an overview of the changes that triggered this event.
      返回:
      an overview of the changes
      从以下版本开始:
      2.6.11