Class ActionsExecutedCollectorImpl
java.lang.Object
com.evolveum.midpoint.repo.common.activity.run.state.actions.ActionsExecutedCollectorImpl
- All Implemented Interfaces:
ActionsExecutedCollector
Collects actions executed information from a single item processing.
Assumptions:
1. Exists during a single item processing only.
2. Executed from a single thread only (the worker task).
-
Constructor Summary
ConstructorDescriptionActionsExecutedCollectorImpl
(@NotNull ActivityActionsExecuted activityActionsExecuted) -
Method Summary
Modifier and TypeMethodDescription<T extends ObjectType>
voidrecordActionExecuted
(PrismObject<T> object, Class<T> objectTypeClass, String defaultOid, ChangeType changeType, String channel, Throwable exception) void
recordActionExecuted
(String objectName, String objectDisplayName, QName objectType, String objectOid, ChangeType changeType, String channel, Throwable exception) void
stop()
-
Constructor Details
-
ActionsExecutedCollectorImpl
public ActionsExecutedCollectorImpl(@NotNull @NotNull ActivityActionsExecuted activityActionsExecuted)
-
-
Method Details
-
recordActionExecuted
public void recordActionExecuted(String objectName, String objectDisplayName, QName objectType, String objectOid, ChangeType changeType, String channel, Throwable exception) - Specified by:
recordActionExecuted
in interfaceActionsExecutedCollector
-
recordActionExecuted
public <T extends ObjectType> void recordActionExecuted(PrismObject<T> object, Class<T> objectTypeClass, String defaultOid, ChangeType changeType, String channel, Throwable exception) - Specified by:
recordActionExecuted
in interfaceActionsExecutedCollector
-
stop
public void stop()- Specified by:
stop
in interfaceActionsExecutedCollector
-