Class RepartitionActivityHandler
java.lang.Object
com.evolveum.midpoint.model.impl.tasks.ModelActivityHandler<RepartitionActivityHandler.MyWorkDefinition,RepartitionActivityHandler>
com.evolveum.midpoint.model.impl.tasks.RepartitionActivityHandler
- All Implemented Interfaces:
ActivityRunSupplier<RepartitionActivityHandler.MyWorkDefinition,,RepartitionActivityHandler> CandidateIdentifierFormatter,ActivityHandler<RepartitionActivityHandler.MyWorkDefinition,RepartitionActivityHandler>
@Component
public class RepartitionActivityHandler
extends ModelActivityHandler<RepartitionActivityHandler.MyWorkDefinition,RepartitionActivityHandler>
Activity handler for reindexing activity.
It simply executes empty modification delta on each repository object found.
TODO implement also for sub-objects, namely certification cases.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.evolveum.midpoint.model.impl.tasks.ModelActivityHandler
beans, commonTaskBeans, handlerRegistry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateActivityRun(@NotNull ActivityRunInstantiationContext<RepartitionActivityHandler.MyWorkDefinition, RepartitionActivityHandler> context, @NotNull OperationResult result) Returns task archetype OID connected to this activity 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, getRootActivityStateDefinition
-
Constructor Details
-
RepartitionActivityHandler
public RepartitionActivityHandler()
-
-
Method Details
-
register
@PostConstruct public void register() -
unregister
@PreDestroy public void unregister() -
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.) -
getIdentifierPrefix
-
createActivityRun
public AbstractActivityRun<RepartitionActivityHandler.MyWorkDefinition,RepartitionActivityHandler, createActivityRun?> (@NotNull @NotNull ActivityRunInstantiationContext<RepartitionActivityHandler.MyWorkDefinition, RepartitionActivityHandler> context, @NotNull @NotNull OperationResult result)
-