org.springframework.boot.devtools.filewatch

Interface FileChangeListener

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.


    @FunctionalInterface
    public interface FileChangeListener
    Callback interface when file changes are detected.
    Since:
    1.3.0
    Author:
    Andy Clement, Phillip Webb
    • Method Detail

      • onChange

        void onChange(Set<ChangedFiles> changeSet)
        Called when files have been changed.
        Parameters:
        changeSet - a set of the ChangedFiles