Class AsyncUpdateActivityHandler
java.lang.Object
com.evolveum.midpoint.model.impl.tasks.ModelActivityHandler<AsyncUpdateWorkDefinition,AsyncUpdateActivityHandler>
com.evolveum.midpoint.model.impl.sync.tasks.async.AsyncUpdateActivityHandler
- All Implemented Interfaces:
ActivityRunSupplier<AsyncUpdateWorkDefinition,,AsyncUpdateActivityHandler> CandidateIdentifierFormatter,ActivityHandler<AsyncUpdateWorkDefinition,AsyncUpdateActivityHandler>
@Component
public class AsyncUpdateActivityHandler
extends ModelActivityHandler<AsyncUpdateWorkDefinition,AsyncUpdateActivityHandler>
Activity handler for controlled processing of asynchronous updates.
-
Field Summary
Fields inherited from class com.evolveum.midpoint.model.impl.tasks.ModelActivityHandler
beans, commonTaskBeans, handlerRegistry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull AbstractActivityRun<AsyncUpdateWorkDefinition,AsyncUpdateActivityHandler, AbstractActivityWorkStateType> createActivityRun(@NotNull ActivityRunInstantiationContext<AsyncUpdateWorkDefinition, AsyncUpdateActivityHandler> context, @NotNull OperationResult result) Returns task archetype OID connected to this activity handler.@NotNull ActivityStateDefinition<?>Returns state definition for standalone (root) activity paired with this handler.voidregister()voidMethods inherited from class com.evolveum.midpoint.model.impl.tasks.ModelActivityHandler
getModelBeansMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.repo.common.activity.handlers.ActivityHandler
createChildActivities, formatCandidateIdentifier
-
Constructor Details
-
AsyncUpdateActivityHandler
public AsyncUpdateActivityHandler()
-
-
Method Details
-
register
@PostConstruct public void register() -
unregister
@PreDestroy public void unregister() -
createActivityRun
@NotNull public @NotNull AbstractActivityRun<AsyncUpdateWorkDefinition,AsyncUpdateActivityHandler, createActivityRunAbstractActivityWorkStateType> (@NotNull @NotNull ActivityRunInstantiationContext<AsyncUpdateWorkDefinition, AsyncUpdateActivityHandler> context, @NotNull @NotNull OperationResult result) -
getIdentifierPrefix
-
getRootActivityStateDefinition
Description copied from interface:ActivityHandlerReturns state definition for standalone (root) activity paired with this handler. Definitions for embedded activities are provided by activities themselves, which are returned byActivityHandler.createChildActivities(Activity)method. -
getDefaultArchetypeOid
Description copied from interface:ActivityHandlerReturns task archetype OID connected to this activity handler. When a generic task starts, it is given an archetype based on the activity handler for the task's main activity. (If not set before.)
-