Module xaos.core

Class DirectoryWatcher.DirectoryEvent

  • Enclosing class:
    DirectoryWatcher

    public static class DirectoryWatcher.DirectoryEvent
    extends Object
    Contains the information about entry create, delete or modify occurred to a watched directory.
    Author:
    claudio.rosati@esss.se
    • Method Detail

      • getWatchedPath

        public Path getWatchedPath()
        Returns:
        The watched Path. It corresponds to what returned by the WatchKey.watchable() method.
      • wasReset

        public boolean wasReset()
        Returns:
        true if the WatchKey that generated this event was successfully reset.