Class CleanupActivityHandler
java.lang.Object
com.evolveum.midpoint.model.impl.tasks.ModelActivityHandler<CleanupWorkDefinition,CleanupActivityHandler>
com.evolveum.midpoint.model.impl.cleanup.CleanupActivityHandler
- All Implemented Interfaces:
ActivityRunSupplier<CleanupWorkDefinition,
,CleanupActivityHandler> CandidateIdentifierFormatter
,ActivityHandler<CleanupWorkDefinition,
CleanupActivityHandler>
@Component
public class CleanupActivityHandler
extends ModelActivityHandler<CleanupWorkDefinition,CleanupActivityHandler>
-
Field Summary
Fields inherited from class com.evolveum.midpoint.model.impl.tasks.ModelActivityHandler
beans, commonTaskBeans, handlerRegistry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateActivityRun
(@NotNull ActivityRunInstantiationContext<CleanupWorkDefinition, CleanupActivityHandler> context, @NotNull OperationResult result) createChildActivities
(Activity<CleanupWorkDefinition, CleanupActivityHandler> parentActivity) Returns task archetype OID connected to this activity handler.void
register()
void
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
formatCandidateIdentifier, getRootActivityStateDefinition
-
Constructor Details
-
CleanupActivityHandler
public CleanupActivityHandler()
-
-
Method Details
-
register
@PostConstruct public void register() -
unregister
@PreDestroy public void unregister() -
createActivityRun
@NotNull public @NotNull CompositeActivityRun<CleanupWorkDefinition,CleanupActivityHandler, createActivityRun?> (@NotNull @NotNull ActivityRunInstantiationContext<CleanupWorkDefinition, CleanupActivityHandler> context, @NotNull @NotNull OperationResult result) -
createChildActivities
public ArrayList<Activity<?,?>> createChildActivities(Activity<CleanupWorkDefinition, CleanupActivityHandler> parentActivity) -
getIdentifierPrefix
-
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.)
-