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.
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 TypeMethodDescriptionvoidonAction(EWatchDirAction eAction, Path aPath) Generic callback method
-
Method Details
-
onAction
Generic callback method- Parameters:
eAction- The action that was triggered. Nevernull.aPath- The affected path. Nevernull.
-