Interface FileSynchronizationStrategy

All Known Implementing Classes:
LastModifiedStrategy, NeverSynchronizationStrategy, WatchServiceSynchronizationStrategy

public interface FileSynchronizationStrategy
Defines how a CustomFile should be synchronized with its underlying filesystem representation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Synchronizes the given file if required.
  • Method Details

    • synchronize

      void synchronize(CustomFile file)
      Synchronizes the given file if required.
      Parameters:
      file - the file to synchronize