Class GenericProcessingRequest<T>
java.lang.Object
com.evolveum.midpoint.repo.common.activity.run.processing.ItemProcessingRequest<T>
com.evolveum.midpoint.repo.common.activity.run.processing.GenericProcessingRequest<T>
- All Implemented Interfaces:
- AcknowledgementSink
Request to process a generic data item.
- 
Field SummaryFields inherited from class com.evolveum.midpoint.repo.common.activity.run.processing.ItemProcessingRequestidentifier, item
- 
Constructor SummaryConstructorsConstructorDescriptionGenericProcessingRequest(int sequentialNumber, T item, @NotNull IterativeActivityRun<T, ?, ?, ?> activityRun) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidacknowledge(boolean release, OperationResult result) Informs the receiver that a particular item was processed (successfully or not).@Nullable StringOID of the object connected to the item being processed (usually the object itself or related shadow).@NotNull IterationItemInformationThis can be overridden in cases when we know how to derive a name or display name or the type for the item.@Nullable SynchronizationSituationTypeTODO reconsidertoString()Methods inherited from class com.evolveum.midpoint.repo.common.activity.run.processing.ItemProcessingRequestcreateRecordingTargetForObject, getIdentifier, getItem, getRootTaskOid, getSequentialNumber, getType, getType, process
- 
Constructor Details- 
GenericProcessingRequestpublic GenericProcessingRequest(int sequentialNumber, T item, @NotNull @NotNull IterativeActivityRun<T, ?, ?, ?> activityRun) 
 
- 
- 
Method Details- 
getIterationItemInformationThis can be overridden in cases when we know how to derive a name or display name or the type for the item.- Specified by:
- getIterationItemInformationin class- ItemProcessingRequest<T>
 
- 
getOperationExecutionRecordingTarget- Specified by:
- getOperationExecutionRecordingTargetin class- ItemProcessingRequest<T>
- Returns:
- Object to which we will write an operation execution record (plus auxiliary information).
 
- 
getObjectOidToRecordRetryTrigger- Specified by:
- getObjectOidToRecordRetryTriggerin class- ItemProcessingRequest<T>
- Returns:
- OID of object to which we put a trigger causing operation retry (if known)
 
- 
acknowledgeDescription copied from interface:AcknowledgementSinkInforms the receiver that a particular item was processed (successfully or not).- Parameters:
- release- If true, the item can be forgotten. If false, we want to receive that item again, presumably to be reprocessed later.
- result- Operation result in context of which the acknowledgement should take place. It is useful if the acknowledgement itself can take considerable time, e.g. when it involves a communication with an external party.
 
- 
getItemOidDescription copied from class:ItemProcessingRequestOID of the object connected to the item being processed (usually the object itself or related shadow). TODO reconsider- Specified by:
- getItemOidin class- ItemProcessingRequest<T>
 
- 
getSynchronizationSituationOnProcessingStart@Nullable public @Nullable SynchronizationSituationType getSynchronizationSituationOnProcessingStart()Description copied from class:ItemProcessingRequestTODO reconsider- Specified by:
- getSynchronizationSituationOnProcessingStartin class- ItemProcessingRequest<T>
 
- 
toString- Overrides:
- toStringin class- ItemProcessingRequest<T>
 
 
-