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 Modifier and Type Field Description static String
LEGACY_HANDLER_URI
-
Fields inherited from class com.evolveum.midpoint.model.impl.tasks.ModelActivityHandler
beans, commonTaskBeans, handlerRegistry
-
-
Constructor Summary
Constructors Constructor Description CleanupActivityHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull CompositeActivityRun<CleanupWorkDefinition,CleanupActivityHandler,?>
createActivityRun(@NotNull ActivityRunInstantiationContext<CleanupWorkDefinition,CleanupActivityHandler> context, @NotNull OperationResult result)
ArrayList<Activity<?,?>>
createChildActivities(Activity<CleanupWorkDefinition,CleanupActivityHandler> parentActivity)
String
getDefaultArchetypeOid()
Returns task archetype OID connected to this activity handler.String
getIdentifierPrefix()
void
register()
void
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
formatCandidateIdentifier, getRootActivityStateDefinition
-
-
-
-
Field Detail
-
LEGACY_HANDLER_URI
public static final String LEGACY_HANDLER_URI
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
public String getIdentifierPrefix()
-
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.)
-
-