Class ChangeInfo
java.lang.Object
com.polarion.platform.persistence.notifications.ChangeInfo
- Author:
- dobisekm
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal IPObjectObject containing the version after the change.final StringId of the user, who made the change.final IPObjectObject containing the version before the change.final IPObjectThe object, which this change is about.final IRevisionMetaData -
Constructor Summary
ConstructorsConstructorDescriptionChangeInfo(IPObject current, String author, IPObject before, IPObject after) INTERNAL This method is not part of Polarion API. -
Method Summary
Modifier and TypeMethodDescriptionstatic ChangeInfostatic ChangeInfocreate(ChangeInfo change, IPObject obj, String beforeRev, String afterRev) voidforget()Forgets (i.static IPObjectgetResolvedObjectOrNull(IPObject object, String revision) toString()
-
Field Details
-
author
Id of the user, who made the change. The ID is determined form the repository revision, therefore it'snullis the underlying storage does not support revisions. -
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
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
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
-
-
Constructor Details
-
Method Details