Interface OnFileChangeListener
- All Known Implementing Classes:
JythonManager
,JythonManager
public interface OnFileChangeListener
Interface definition for a callback to be invoked when a file under
watch is changed.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
onFileCreate
(String filePath) Called when a file is created.default void
onFileDelete
(String filePath) Called when a file is deleted.default void
onFileModify
(String filePath) Called when a file is modified.default void
onWatchInvalidation
(String filePath) Called when the path being watched has been deleted.
-
Method Details
-
onFileCreate
Called when a file is created.- Parameters:
filePath
- Path to file that was created.
-
onFileModify
Called when a file is modified.- Parameters:
filePath
- Path to file that was modified.
-
onFileDelete
Called when a file is deleted.- Parameters:
filePath
- Path to file that was removed.
-
onWatchInvalidation
Called when the path being watched has been deleted.- Parameters:
filePath
- Path that was being watched.
-