Interface RevisionEvent


public interface RevisionEvent
Definition of an event containing information about the causing Revision and all contained changes.
Since:
5.2.210505
  • Method Details

    • getRevision

      @Deprecated @NotNull de.espirit.storage.Revision getRevision()
      Deprecated.
      since 5.2.250102 - use getEventRevision() instead
      Get the Revision of this event.
      Returns:
      The revision.
      Since:
      5.2.210505
    • getEventRevision

      @NotNull @NotNull Revision getEventRevision()
      Get the Revision of this event.
      Returns:
      The revision.
      Throws:
      UncheckedIOException - if it was not possible to open the repository.
      Since:
      5.2.250102
    • getUserService

      @NotNull @NotNull UserService getUserService()
      Get a readonly UserService based on the event's Revision.
      Returns:
      A readonly UserService for the Revision.
      Since:
      5.2.210505
    • getChangedLanguages

      @Experimental @NotNull @NotNull Collection<Language> getChangedLanguages()
      If the changes are limited to a set of languages, the set of changed languages is returned by this method. If the change is not limited to a set of languages or is not known, all project languages are returned here.
      Returns:
      The changed languages or all project languages, if unknown or not limited.
      Since:
      5.2.250102
    • getChanges

      @NotNull @NotNull Collection<? extends IDProviderChange> getChanges()
      Get all change operations for this revision. Each change object is either an instance of IDProviderChange or DatasetChange.
      Returns:
      All change operations for this revision.
      Since:
      5.2.210505