Package com.helger.commons.io.watchdir
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 theWatchDirclass.- Since:
- 8.6.6
- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonAction(EWatchDirAction eAction, Path aPath)Generic callback method
-
-
-
Method Detail
-
onAction
void onAction(@Nonnull EWatchDirAction eAction, @Nonnull Path aPath)
Generic callback method- Parameters:
eAction- The action that was triggered. Nevernull.aPath- The affected path. Nevernull.
-
-