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 ofContainerableProcessingRequest
that 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 String
getItemOid()
OID of the object connected to the item being processed (usually the object itself or related shadow).@NotNull IterationItemInformation
getIterationItemInformation()
This can be overridden in cases when we know how to derive a name or display name for the containerable.String
getObjectOidToRecordRetryTrigger()
OperationExecutionRecorderForTasks.Target
getOperationExecutionRecordingTarget()
@Nullable SynchronizationSituationType
getSynchronizationSituationOnProcessingStart()
TODO reconsiderString
toString()
-
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:ContainerableProcessingRequest
This can be overridden in cases when we know how to derive a name or display name for the containerable.- Overrides:
getIterationItemInformation
in classContainerableProcessingRequest<O extends ObjectType>
-
getOperationExecutionRecordingTarget
public OperationExecutionRecorderForTasks.Target getOperationExecutionRecordingTarget()
- Overrides:
getOperationExecutionRecordingTarget
in classContainerableProcessingRequest<O extends ObjectType>
- Returns:
- Object to which we will write an operation execution record (plus auxiliary information).
-
getObjectOidToRecordRetryTrigger
public String getObjectOidToRecordRetryTrigger()
- Overrides:
getObjectOidToRecordRetryTrigger
in 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:ItemProcessingRequest
OID of the object connected to the item being processed (usually the object itself or related shadow). TODO reconsider- Overrides:
getItemOid
in classContainerableProcessingRequest<O extends ObjectType>
-
getSynchronizationSituationOnProcessingStart
@Nullable public @Nullable SynchronizationSituationType getSynchronizationSituationOnProcessingStart()
Description copied from class:ItemProcessingRequest
TODO reconsider- Overrides:
getSynchronizationSituationOnProcessingStart
in classContainerableProcessingRequest<O extends ObjectType>
-
toString
public String toString()
- Overrides:
toString
in classContainerableProcessingRequest<O extends ObjectType>
-
-