Class ItemProcessingRequest<I>

    • Field Detail

      • item

        @NotNull
        protected final I item
      • identifier

        @Experimental
        @NotNull
        protected final @NotNull String identifier
        Unique identifier of this request. Not to be confused with requestIdentifier used for auditing purposes! Most probably it will be replaced by something different.
    • Constructor Detail

      • ItemProcessingRequest

        public ItemProcessingRequest​(int sequentialNumber,
                                     @NotNull
                                     I item,
                                     @NotNull
                                     @NotNull IterativeActivityRun<I,​?,​?,​?> activityRun)
    • Method Detail

      • getSequentialNumber

        public int getSequentialNumber()
      • getItem

        @NotNull
        public I getItem()
      • getOperationExecutionRecordingTarget

        public abstract OperationExecutionRecorderForTasks.Target getOperationExecutionRecordingTarget()
        Returns:
        Object to which we will write an operation execution record (plus auxiliary information).
      • getObjectOidToRecordRetryTrigger

        public abstract String getObjectOidToRecordRetryTrigger()
        Returns:
        OID of object to which we put a trigger causing operation retry (if known)
      • getIterationItemInformation

        @NotNull
        public abstract @NotNull IterationItemInformation getIterationItemInformation()
      • getRootTaskOid

        @NotNull
        protected @NotNull String getRootTaskOid()
      • getType

        @NotNull
        protected @NotNull QName getType​(@NotNull
                                         @NotNull PrismObject<?> object)
      • getType

        @NotNull
        protected @NotNull QName getType​(@NotNull
                                         @NotNull Containerable value)
      • getItemOid

        @Nullable
        public abstract @Nullable String getItemOid()
        OID of the object connected to the item being processed (usually the object itself or related shadow). TODO reconsider
      • getSynchronizationSituationOnProcessingStart

        @Nullable
        public abstract @Nullable SynchronizationSituationType getSynchronizationSituationOnProcessingStart()
        TODO reconsider
      • getIdentifier

        @NotNull
        public @NotNull String getIdentifier()