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
ConstructorsConstructorDescriptionActionsExecutedCollectorImpl(@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) voidrecordActionExecuted(String objectName, String objectDisplayName, QName objectType, String objectOid, ChangeType changeType, String channel, Throwable exception) voidstop()
-
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:
recordActionExecutedin interfaceActionsExecutedCollector
-
recordActionExecuted
public <T extends ObjectType> void recordActionExecuted(PrismObject<T> object, Class<T> objectTypeClass, String defaultOid, ChangeType changeType, String channel, Throwable exception) - Specified by:
recordActionExecutedin interfaceActionsExecutedCollector
-
stop
public void stop()- Specified by:
stopin interfaceActionsExecutedCollector
-