Interface IWatchDirCallback

All Superinterfaces:
com.helger.base.callback.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 com.helger.base.callback.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(@NonNull EWatchDirAction eAction, @NonNull 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.