Class ObjectProcessingRequest<O extends ObjectType>
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.activity.run.processing.ItemProcessingRequest<C>
-
- com.evolveum.midpoint.repo.common.activity.run.processing.ContainerableProcessingRequest<O>
-
- com.evolveum.midpoint.repo.common.activity.run.processing.ObjectProcessingRequest<O>
-
- All Implemented Interfaces:
AcknowledgementSink
public class ObjectProcessingRequest<O extends ObjectType> extends ContainerableProcessingRequest<O>
Request to process an object. It is a subtype ofContainerableProcessingRequestthat provides more specific implementations of the methods likegetItemOid()orgetIterationItemInformation(). TODO Reconsider if this is a good idea. But it seems so: an alternative would be a lot of if-then-else commands in the method bodies.
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.repo.common.activity.run.processing.ItemProcessingRequest
identifier, item
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable StringgetItemOid()OID of the object connected to the item being processed (usually the object itself or related shadow).@NotNull IterationItemInformationgetIterationItemInformation()This can be overridden in cases when we know how to derive a name or display name for the containerable.StringgetObjectOidToRecordRetryTrigger()OperationExecutionRecorderForTasks.TargetgetOperationExecutionRecordingTarget()@Nullable SynchronizationSituationTypegetSynchronizationSituationOnProcessingStart()TODO reconsiderStringtoString()-
Methods inherited from class com.evolveum.midpoint.repo.common.activity.run.processing.ContainerableProcessingRequest
acknowledge, create
-
Methods inherited from class com.evolveum.midpoint.repo.common.activity.run.processing.ItemProcessingRequest
createRecordingTargetForObject, getIdentifier, getItem, getRootTaskOid, getSequentialNumber, getType, getType, process
-
-
-
-
Method Detail
-
getIterationItemInformation
@NotNull public @NotNull IterationItemInformation getIterationItemInformation()
Description copied from class:ContainerableProcessingRequestThis can be overridden in cases when we know how to derive a name or display name for the containerable.- Overrides:
getIterationItemInformationin classContainerableProcessingRequest<O extends ObjectType>
-
getOperationExecutionRecordingTarget
public OperationExecutionRecorderForTasks.Target getOperationExecutionRecordingTarget()
- Overrides:
getOperationExecutionRecordingTargetin classContainerableProcessingRequest<O extends ObjectType>- Returns:
- Object to which we will write an operation execution record (plus auxiliary information).
-
getObjectOidToRecordRetryTrigger
public String getObjectOidToRecordRetryTrigger()
- Overrides:
getObjectOidToRecordRetryTriggerin classContainerableProcessingRequest<O extends ObjectType>- Returns:
- OID of object to which we put a trigger causing operation retry (if known)
-
getItemOid
@Nullable public @Nullable String getItemOid()
Description copied from class:ItemProcessingRequestOID of the object connected to the item being processed (usually the object itself or related shadow). TODO reconsider- Overrides:
getItemOidin classContainerableProcessingRequest<O extends ObjectType>
-
getSynchronizationSituationOnProcessingStart
@Nullable public @Nullable SynchronizationSituationType getSynchronizationSituationOnProcessingStart()
Description copied from class:ItemProcessingRequestTODO reconsider- Overrides:
getSynchronizationSituationOnProcessingStartin classContainerableProcessingRequest<O extends ObjectType>
-
toString
public String toString()
- Overrides:
toStringin classContainerableProcessingRequest<O extends ObjectType>
-
-