Interface DirectoryWatcher.FileChangedListener

Enclosing class:
DirectoryWatcher
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 static interface DirectoryWatcher.FileChangedListener
An interface used to listen on file changed events.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onChanged(boolean watchedFileChanged)
    Is called if any file in the project is changed.
  • Method Details

    • onChanged

      void onChanged(boolean watchedFileChanged)
      Is called if any file in the project is changed. The parameter signals if a watched file is changed.
      Parameters:
      watchedFileChanged - true if a included file is changed. Otherwise false.