Interface IExtendedFileChangesListener
- All Superinterfaces:
IFileChangesListener
- All Known Implementing Classes:
ExtendedFileChangesListenerAdapter
Extended
IFileChangesListener
.
- Author:
- Stepan Roh, Polarion Software
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether this listener is interested only in revisions.void
revisionAdded
(String repository, String revision) Revision was added.default void
revisionProcessed
(String revision) The given revision and all previous revisions (in order) have been fully processed.Methods inherited from interface com.polarion.platform.service.repository.IFileChangesListener
resourceCopied, resourceCreated, resourceModified, resourceMoved, resourceRemoved
-
Method Details
-
revisionAdded
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 (notnull
)
-
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
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
-