Interface IWatchDirCallback

All Superinterfaces:
ICallback
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 IWatchDirCallback extends ICallback
The callback interface to be implemented to get notified about changes in a directory in the WatchDir class.
Since:
8.6.6
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onAction(EWatchDirAction eAction, Path aPath)
    Generic callback method
  • Method Details

    • onAction

      void onAction(@Nonnull EWatchDirAction eAction, @Nonnull Path aPath)
      Generic callback method
      Parameters:
      eAction - The action that was triggered. Never null.
      aPath - The affected path. Never null.