Class ObjectIntegrityCheckActivityHandler
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.tasks.ModelActivityHandler<WD,SAH>
-
- com.evolveum.midpoint.model.impl.tasks.simple.SimpleActivityHandler<ObjectType,com.evolveum.midpoint.model.impl.integrity.objects.ObjectIntegrityCheckActivityHandler.MyWorkDefinition,ObjectIntegrityCheckActivityHandler>
-
- com.evolveum.midpoint.model.impl.integrity.objects.ObjectIntegrityCheckActivityHandler
-
- All Implemented Interfaces:
ActivityRunSupplier<com.evolveum.midpoint.model.impl.integrity.objects.ObjectIntegrityCheckActivityHandler.MyWorkDefinition,ObjectIntegrityCheckActivityHandler>
,CandidateIdentifierFormatter
,ActivityHandler<com.evolveum.midpoint.model.impl.integrity.objects.ObjectIntegrityCheckActivityHandler.MyWorkDefinition,ObjectIntegrityCheckActivityHandler>
@Component public class ObjectIntegrityCheckActivityHandler extends SimpleActivityHandler<ObjectType,com.evolveum.midpoint.model.impl.integrity.objects.ObjectIntegrityCheckActivityHandler.MyWorkDefinition,ObjectIntegrityCheckActivityHandler>
Task handler for "Object integrity check" task. The purpose of this task is to detect and optionally fix anomalies in repository objects. However, currently its only function is to display information about objects size.
-
-
Nested Class Summary
-
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 Modifier and Type Field Description static String
LEGACY_HANDLER_URI
-
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 ObjectIntegrityCheckActivityHandler()
-
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,com.evolveum.midpoint.model.impl.integrity.objects.ObjectIntegrityCheckActivityHandler.MyWorkDefinition,ObjectIntegrityCheckActivityHandler>
getExecutionSupplier()
String
getIdentifierPrefix()
protected @NotNull String
getLegacyHandlerUri()
protected @NotNull String
getShortName()
protected @NotNull Class<com.evolveum.midpoint.model.impl.integrity.objects.ObjectIntegrityCheckActivityHandler.MyWorkDefinition>
getWorkDefinitionClass()
protected 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
-
-
-
-
Field Detail
-
LEGACY_HANDLER_URI
public static final String LEGACY_HANDLER_URI
- See Also:
- Constant Field Values
-
-
Method Detail
-
getWorkDefinitionTypeName
@NotNull protected @NotNull QName getWorkDefinitionTypeName()
- Specified by:
getWorkDefinitionTypeName
in classSimpleActivityHandler<ObjectType,com.evolveum.midpoint.model.impl.integrity.objects.ObjectIntegrityCheckActivityHandler.MyWorkDefinition,ObjectIntegrityCheckActivityHandler>
-
getWorkDefinitionClass
@NotNull protected @NotNull Class<com.evolveum.midpoint.model.impl.integrity.objects.ObjectIntegrityCheckActivityHandler.MyWorkDefinition> getWorkDefinitionClass()
- Specified by:
getWorkDefinitionClass
in classSimpleActivityHandler<ObjectType,com.evolveum.midpoint.model.impl.integrity.objects.ObjectIntegrityCheckActivityHandler.MyWorkDefinition,ObjectIntegrityCheckActivityHandler>
-
getWorkDefinitionSupplier
@NotNull protected WorkDefinitionFactory.WorkDefinitionSupplier getWorkDefinitionSupplier()
- Specified by:
getWorkDefinitionSupplier
in classSimpleActivityHandler<ObjectType,com.evolveum.midpoint.model.impl.integrity.objects.ObjectIntegrityCheckActivityHandler.MyWorkDefinition,ObjectIntegrityCheckActivityHandler>
-
getExecutionSupplier
@NotNull protected @NotNull SimpleActivityHandler.ExecutionSupplier<ObjectType,com.evolveum.midpoint.model.impl.integrity.objects.ObjectIntegrityCheckActivityHandler.MyWorkDefinition,ObjectIntegrityCheckActivityHandler> getExecutionSupplier()
- Specified by:
getExecutionSupplier
in classSimpleActivityHandler<ObjectType,com.evolveum.midpoint.model.impl.integrity.objects.ObjectIntegrityCheckActivityHandler.MyWorkDefinition,ObjectIntegrityCheckActivityHandler>
-
getLegacyHandlerUri
@NotNull protected @NotNull String getLegacyHandlerUri()
- Overrides:
getLegacyHandlerUri
in classSimpleActivityHandler<ObjectType,com.evolveum.midpoint.model.impl.integrity.objects.ObjectIntegrityCheckActivityHandler.MyWorkDefinition,ObjectIntegrityCheckActivityHandler>
-
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,com.evolveum.midpoint.model.impl.integrity.objects.ObjectIntegrityCheckActivityHandler.MyWorkDefinition,ObjectIntegrityCheckActivityHandler>
-
getIdentifierPrefix
public String getIdentifierPrefix()
-
-