Class ChangeInfo
java.lang.Object
com.polarion.platform.persistence.notifications.ChangeInfo
- Author:
- dobisekm
-
Field Summary
Modifier and TypeFieldDescriptionfinal IPObject
Object containing the version after the change.final String
Id of the user, who made the change.final IPObject
Object containing the version before the change.final IPObject
The object, which this change is about.final IRevisionMetaData
-
Constructor Summary
ConstructorDescriptionChangeInfo
(IPObject current, String author, IPObject before, IPObject after) INTERNAL This method is not part of Polarion API. -
Method Summary
Modifier and TypeMethodDescriptionstatic ChangeInfo
static ChangeInfo
create
(ChangeInfo change, IPObject obj, String beforeRev, String afterRev) void
forget()
Forgets (i.static IPObject
getResolvedObjectOrNull
(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'snull
is 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