Interface IExtendedFileChangesListener

All Superinterfaces:
IFileChangesListener
All Known Implementing Classes:
ExtendedFileChangesListenerAdapter

public interface IExtendedFileChangesListener extends IFileChangesListener
Author:
Stepan Roh, Polarion Software
  • Method Details

    • revisionAdded

      void revisionAdded(String repository, String revision)
      Revision was added.

      It is assured that this event is sent after all other events based on the same revision are sent.

      All listeners regardless their registered resource locations are called.

      Parameters:
      repository - identifier of the repository that the revision belongs to.
      revision - revision (not null)
    • ignoresResourceChanges

      boolean ignoresResourceChanges()
      Whether this listener is interested only in revisions.

      Allows optimizations in revision retrieval.

      Returns:
      true if only revision additions are interesting from this listener
    • revisionProcessed

      default void revisionProcessed(@NotNull String revision)
      The given revision and all previous revisions (in order) have been fully processed. (It also accounts for revisions that are ignored.) Note that the last fully processed revision may not coincide with the HEAD revision.

      It is assured that this event is sent after all other events based on the same revision are sent.

      All listeners regardless their registered resource locations are called.

      Parameters:
      revision - The revision to declare fully processed
      Since:
      3.21.1