Interface ResourceIntegration


  • public interface ResourceIntegration
    Provides notifications about file creations, modifications and deletions. This API is provisional and may be changed or removed in future versions.
    • Method Detail

      • isEnabled

        boolean isEnabled()
        Returns:
        true if one implementation of file system monitoring is enabled.
      • addFileListener

        boolean addFileListener​(File root,
                                FileEventListener listener)
        Register a FileEventListener to receive notifications when resources are updated.
        Returns:
        true when adding listener was successful