Class ShadowRefreshActivityHandler
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.tasks.ModelActivityHandler<ShadowRefreshActivityHandler.MyWorkDefinition,ShadowRefreshActivityHandler>
-
- com.evolveum.midpoint.model.impl.cleanup.ShadowRefreshActivityHandler
-
- All Implemented Interfaces:
ActivityRunSupplier<ShadowRefreshActivityHandler.MyWorkDefinition,ShadowRefreshActivityHandler>
,CandidateIdentifierFormatter
,ActivityHandler<ShadowRefreshActivityHandler.MyWorkDefinition,ShadowRefreshActivityHandler>
@Component public class ShadowRefreshActivityHandler extends ModelActivityHandler<ShadowRefreshActivityHandler.MyWorkDefinition,ShadowRefreshActivityHandler>
Scanner that looks for pending operations in the shadows and updates the status.- Author:
- Radovan Semancik
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShadowRefreshActivityHandler.MyActivityRun
static class
ShadowRefreshActivityHandler.MyWorkDefinition
-
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 ShadowRefreshActivityHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractActivityRun<ShadowRefreshActivityHandler.MyWorkDefinition,ShadowRefreshActivityHandler,?>
createActivityRun(@NotNull ActivityRunInstantiationContext<ShadowRefreshActivityHandler.MyWorkDefinition,ShadowRefreshActivityHandler> context, @NotNull OperationResult result)
String
getDefaultArchetypeOid()
Returns task archetype OID connected to this activity handler.String
getIdentifierPrefix()
@NotNull ActivityStateDefinition<?>
getRootActivityStateDefinition()
Returns state definition for standalone (root) activity paired with this handler.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
createChildActivities, formatCandidateIdentifier
-
-
-
-
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
public AbstractActivityRun<ShadowRefreshActivityHandler.MyWorkDefinition,ShadowRefreshActivityHandler,?> createActivityRun(@NotNull @NotNull ActivityRunInstantiationContext<ShadowRefreshActivityHandler.MyWorkDefinition,ShadowRefreshActivityHandler> context, @NotNull @NotNull OperationResult result)
-
getIdentifierPrefix
public String getIdentifierPrefix()
-
getRootActivityStateDefinition
@NotNull public @NotNull ActivityStateDefinition<?> getRootActivityStateDefinition()
Description copied from interface:ActivityHandler
Returns state definition for standalone (root) activity paired with this handler. Definitions for embedded activities are provided by activities themselves, which are returned byActivityHandler.createChildActivities(Activity)
method.
-
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.)
-
-