Interface SynchronizationEvent
-
- All Superinterfaces:
AcknowledgementSink
,Comparable<SynchronizationEvent>
,DebugDumpable
- All Known Subinterfaces:
AsyncUpdateEvent
,LiveSyncEvent
public interface SynchronizationEvent extends AcknowledgementSink, DebugDumpable, Comparable<SynchronizationEvent>
TODO It is comparable on the sequential number.
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceObjectShadowChangeDescription
getChangeDescription()
BEWARE! Can be null for erroneous changes that failed in such a crude way that no repo shadow was created.Object
getCorrelationValue()
Value against which the events are to be ordered: events A and B having A.sequentialNumber less than B.sequentialNumber must be processed in that order if their correlation value is the same.String
getErrorMessage()
int
getSequentialNumber()
Sequential number of this event.PrismObject<ShadowType>
getShadowedObject()
String
getShadowOid()
boolean
isComplete()
Is the event ready to be processed? TODOboolean
isError()
boolean
isNotApplicable()
Is the event "empty", and therefore should be skipped? This means no error has occurred, but simply there is nothing to do.-
Methods inherited from interface com.evolveum.midpoint.schema.AcknowledgementSink
acknowledge
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Method Detail
-
getChangeDescription
ResourceObjectShadowChangeDescription getChangeDescription()
BEWARE! Can be null for erroneous changes that failed in such a crude way that no repo shadow was created.
-
getSequentialNumber
int getSequentialNumber()
Sequential number of this event.
-
getCorrelationValue
Object getCorrelationValue()
Value against which the events are to be ordered: events A and B having A.sequentialNumber less than B.sequentialNumber must be processed in that order if their correlation value is the same. (Which means that they refer to the same resource object.)
-
isComplete
boolean isComplete()
Is the event ready to be processed? TODO
-
isNotApplicable
boolean isNotApplicable()
Is the event "empty", and therefore should be skipped? This means no error has occurred, but simply there is nothing to do. Like a deletion of already-deleted account.
-
isError
boolean isError()
-
getErrorMessage
String getErrorMessage()
-
getShadowOid
String getShadowOid()
-
getShadowedObject
PrismObject<ShadowType> getShadowedObject()
-
-