Interface FileListenerInterface
- All Known Subinterfaces:
FileDirectoryListenerInterface
- All Known Implementing Classes:
DataFilesMonitorForTarget
,DataFolderMonitorForTarget
,DirectoryToMonitor
,OMArchiveFilesMonitorForTarget
public interface FileListenerInterface
FileListenerInterface is the interface to implement is your integration connector wishes to monitor a single file
the changing files within a root directory. The listener is registered with the FilesIntegratorContext
that is passed to the connector just before start().
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onFileChange
(File file) File changed Event.void
onFileCreate
(File file) File created Event.void
onFileDelete
(File file) File deleted Event.
-
Method Details
-
onFileCreate
File created Event.- Parameters:
file
- The file that was created
-
onFileChange
File changed Event.- Parameters:
file
- The file that changed
-
onFileDelete
File deleted Event.- Parameters:
file
- The file that was deleted
-