org.springframework.boot.devtools.classpath

Class ClassPathChangedEvent

    • Constructor Detail

      • ClassPathChangedEvent

        public ClassPathChangedEvent(Object source,
                                     Set<ChangedFiles> changeSet,
                                     boolean restartRequired)
        Create a new ClassPathChangedEvent.
        Parameters:
        source - the source of the event
        changeSet - the changed files
        restartRequired - if a restart is required due to the change
    • Method Detail

      • getChangeSet

        public Set<ChangedFiles> getChangeSet()
        Return details of the files that changed.
        Returns:
        the changed files
      • isRestartRequired

        public boolean isRestartRequired()
        Return if an application restart is required due to the change.
        Returns:
        if an application restart is required