java.lang.Object
com.polarion.platform.persistence.notifications.ChangeInfo

public class ChangeInfo extends Object
Author:
dobisekm
  • Field Details

    • author

      public final String author
      Id of the user, who made the change. The ID is determined form the repository revision, therefore it's null is the underlying storage does not support revisions.
    • current

      public final IPObject current
      The object, which this change is about. Unresolved instance, not pointing to any particular revision.

      This object is useful to read the prototype, context, Id etc. from, since it's guaranteed to be always filled in.

    • before

      public final IPObject before
      Object containing the version before the change. The object is resolved and it is bound to the revision just before the change.

      If the object is not resolvable from the revision before the change, or if the event did not contain the revision at all (e.g. since not supported by the underlying storage), then this field is null.

    • after

      public final IPObject after
      Object containing the version after the change. The object is resolved and it is bound to the revision just after the change.

      If the object is not resolvable from the revision after the change, or if the event did not contain the revision at all (e.g. since not supported by the underlying storage), then this field is null.

    • revMeta

      public final IRevisionMetaData revMeta
  • Constructor Details

    • ChangeInfo

      public ChangeInfo(@NotNull IPObject current, @NotNull String author, @Nullable IPObject before, @Nullable IPObject after)
      INTERNAL This method is not part of Polarion API.
      Since:
      3.8.3
  • Method Details