Interface FileDirectoryListenerInterface
- All Superinterfaces:
FileListenerInterface
- All Known Implementing Classes:
DataFilesMonitorForTarget
,DataFolderMonitorForTarget
,DirectoryToMonitor
,OMArchiveFilesMonitorForTarget
FileDirectoryListenerInterface is the interface to implement if your integration connector wishes to monitor
the changing files (and directories) within a root directory. The listener is registered with the IntegratorContext
that is passed to the connector just before start().
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onDirectoryChange
(File directory) Directory changed Event.void
onDirectoryCreate
(File directory) Directory created Event.void
onDirectoryDelete
(File directory) Directory deleted Event.Methods inherited from interface org.odpi.openmetadata.frameworks.integration.filelistener.FileListenerInterface
onFileChange, onFileCreate, onFileDelete
-
Method Details
-
onDirectoryCreate
Directory created Event.- Parameters:
directory
- The directory that was created
-
onDirectoryChange
Directory changed Event.- Parameters:
directory
- The directory that changed
-
onDirectoryDelete
Directory deleted Event.- Parameters:
directory
- The directory that was deleted
-