Class DirectorySnapshot

All Implemented Interfaces:
Serializable, Cloneable, Iterable<FileSnapshot>, Collection<FileSnapshot>, List<FileSnapshot>, RandomAccess

public class DirectorySnapshot extends ArrayList<FileSnapshot>
See Also:
  • Constructor Details

  • Method Details

    • merge

      protected void merge(DirectorySnapshot snapshot)
    • diff

      public DirectorySnapshot diff(DirectorySnapshot anotherSnapshot)
      Reconciles file change events in this directory snapshot with another snapshot (more recent) and produces a list of differences (a delta-change).
      Parameters:
      anotherSnapshot -
      Returns:
      List of differences
    • getFileTriggerRouter

      public FileTriggerRouter getFileTriggerRouter()