Interface WatchService.WatchEventListener

All Known Implementing Classes:
AbstractScriptDependencyTracker, AbstractScriptFileWatcher, FileTransformationProvider
Enclosing interface:
WatchService
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 WatchService.WatchEventListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Notify Listener about watch event
  • Method Details

    • processWatchEvent

      void processWatchEvent(WatchService.Kind kind, Path path)
      Notify Listener about watch event
      Parameters:
      kind - the WatchService.Kind of this event
      path - the relative path of the file associated with this event