Class ReindexActivityHandler
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.tasks.ModelActivityHandler<WD,SAH>
-
- com.evolveum.midpoint.model.impl.tasks.simple.SimpleActivityHandler<ObjectType,ReindexActivityHandler.MyWorkDefinition,ReindexActivityHandler>
-
- com.evolveum.midpoint.model.impl.tasks.ReindexActivityHandler
-
- All Implemented Interfaces:
ActivityRunSupplier<ReindexActivityHandler.MyWorkDefinition,ReindexActivityHandler>
,CandidateIdentifierFormatter
,ActivityHandler<ReindexActivityHandler.MyWorkDefinition,ReindexActivityHandler>
@Component public class ReindexActivityHandler extends SimpleActivityHandler<ObjectType,ReindexActivityHandler.MyWorkDefinition,ReindexActivityHandler>
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 Modifier and Type Class Description static class
ReindexActivityHandler.MyWorkDefinition
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.model.impl.tasks.simple.SimpleActivityHandler
SimpleActivityHandler.ExecutionSupplier<O extends ObjectType,WD extends WorkDefinition,SAH extends SimpleActivityHandler<O,WD,SAH>>
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.model.impl.tasks.simple.SimpleActivityHandler
clock, clockwork, contextFactory, modelController, modelService, prismContext, provisioningService, repositoryService, scriptingService, securityEnforcer, synchronizationService, syncTaskHelper, workDefinitionFactory
-
Fields inherited from class com.evolveum.midpoint.model.impl.tasks.ModelActivityHandler
beans, commonTaskBeans, handlerRegistry
-
-
Constructor Summary
Constructors Constructor Description ReindexActivityHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefaultArchetypeOid()
Returns task archetype OID connected to this activity handler.protected @NotNull SimpleActivityHandler.ExecutionSupplier<ObjectType,ReindexActivityHandler.MyWorkDefinition,ReindexActivityHandler>
getExecutionSupplier()
String
getIdentifierPrefix()
protected @NotNull String
getLegacyHandlerUri()
protected @NotNull String
getShortName()
protected @NotNull Class<ReindexActivityHandler.MyWorkDefinition>
getWorkDefinitionClass()
protected @NotNull WorkDefinitionFactory.WorkDefinitionSupplier
getWorkDefinitionSupplier()
protected @NotNull QName
getWorkDefinitionTypeName()
-
Methods inherited from class com.evolveum.midpoint.model.impl.tasks.simple.SimpleActivityHandler
createActivityRun, register, unregister
-
Methods inherited from class com.evolveum.midpoint.model.impl.tasks.ModelActivityHandler
getModelBeans
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.repo.common.activity.handlers.ActivityHandler
createChildActivities, formatCandidateIdentifier, getRootActivityStateDefinition
-
-
-
-
Method Detail
-
getWorkDefinitionTypeName
@NotNull protected @NotNull QName getWorkDefinitionTypeName()
- Specified by:
getWorkDefinitionTypeName
in classSimpleActivityHandler<ObjectType,ReindexActivityHandler.MyWorkDefinition,ReindexActivityHandler>
-
getWorkDefinitionClass
@NotNull protected @NotNull Class<ReindexActivityHandler.MyWorkDefinition> getWorkDefinitionClass()
- Specified by:
getWorkDefinitionClass
in classSimpleActivityHandler<ObjectType,ReindexActivityHandler.MyWorkDefinition,ReindexActivityHandler>
-
getWorkDefinitionSupplier
@NotNull protected @NotNull WorkDefinitionFactory.WorkDefinitionSupplier getWorkDefinitionSupplier()
- Specified by:
getWorkDefinitionSupplier
in classSimpleActivityHandler<ObjectType,ReindexActivityHandler.MyWorkDefinition,ReindexActivityHandler>
-
getExecutionSupplier
@NotNull protected @NotNull SimpleActivityHandler.ExecutionSupplier<ObjectType,ReindexActivityHandler.MyWorkDefinition,ReindexActivityHandler> getExecutionSupplier()
- Specified by:
getExecutionSupplier
in classSimpleActivityHandler<ObjectType,ReindexActivityHandler.MyWorkDefinition,ReindexActivityHandler>
-
getLegacyHandlerUri
@NotNull protected @NotNull String getLegacyHandlerUri()
-
getDefaultArchetypeOid
public String getDefaultArchetypeOid()
Description copied from interface:ActivityHandler
Returns 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.)
-
getShortName
@NotNull protected @NotNull String getShortName()
- Specified by:
getShortName
in classSimpleActivityHandler<ObjectType,ReindexActivityHandler.MyWorkDefinition,ReindexActivityHandler>
-
getIdentifierPrefix
public String getIdentifierPrefix()
-
-