Interface FileListenerInterface

All Known Subinterfaces:
FileDirectoryListenerInterface
All Known Implementing Classes:
DataFilesMonitorForTarget, DataFolderMonitorForTarget, DirectoryToMonitor

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 Type
    Method
    Description
    void
    File changed Event.
    void
    File created Event.
    void
    File deleted Event.
  • Method Details

    • onFileCreate

      void onFileCreate(File file)
      File created Event.
      Parameters:
      file - The file that was created
    • onFileChange

      void onFileChange(File file)
      File changed Event.
      Parameters:
      file - The file that changed
    • onFileDelete

      void onFileDelete(File file)
      File deleted Event.
      Parameters:
      file - The file that was deleted