Interface FileDirectoryListenerInterface

All Superinterfaces:
FileListenerInterface
All Known Implementing Classes:
DataFilesMonitorForTarget, DataFolderMonitorForTarget, DirectoryToMonitor

public interface FileDirectoryListenerInterface extends FileListenerInterface
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 Details

    • onDirectoryCreate

      void onDirectoryCreate(File directory)
      Directory created Event.
      Parameters:
      directory - The directory that was created
    • onDirectoryChange

      void onDirectoryChange(File directory)
      Directory changed Event.
      Parameters:
      directory - The directory that changed
    • onDirectoryDelete

      void onDirectoryDelete(File directory)
      Directory deleted Event.
      Parameters:
      directory - The directory that was deleted