@Component public class ShadowIntegrityCheckTaskHandler extends AbstractSearchIterativeTaskHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType,ShadowIntegrityCheckResultHandler>
Modifier and Type | Field and Description |
---|---|
static String |
HANDLER_URI |
modelObjectResolver, prismContext, repositoryService, securityEnforcer, taskManager
Constructor and Description |
---|
ShadowIntegrityCheckTaskHandler() |
Modifier and Type | Method and Description |
---|---|
protected ShadowIntegrityCheckResultHandler |
createHandler(TaskRunResult runResult,
Task coordinatorTask,
OperationResult opResult) |
protected ObjectQuery |
createQuery(ShadowIntegrityCheckResultHandler handler,
TaskRunResult runResult,
Task task,
OperationResult opResult)
Handler parameter may be used to pass task instance state between the calls.
|
String |
getCategoryName(Task task)
Returns a category name for a given task.
|
List<String> |
getCategoryNames()
Returns names of task categories provided by this handler.
|
protected Class<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
getType(Task task) |
protected boolean |
initializeRun(ShadowIntegrityCheckResultHandler handler,
TaskRunResult runResult,
Task task,
OperationResult opResult)
Used to properly initialize the "run", which is kind of task instance.
|
protected boolean |
useRepositoryDirectly(ShadowIntegrityCheckResultHandler resultHandler,
TaskRunResult runResult,
Task coordinatorTask,
OperationResult opResult) |
createQueryFromTask, finish, getObjectQueryTypeFromTask, getTypeFromTask, heartbeat, isEnableActionsExecutedStatistics, isEnableIterationStatistics, isEnableSynchronizationStatistics, isLogFinishInfo, isPreserveStatistics, refreshStatus, resolveObjectRef, run, runInternal, setEnableActionsExecutedStatistics, setEnableIterationStatistics, setEnableSynchronizationStatistics, setLogFinishInfo, setPreserveStatistics
public static final String HANDLER_URI
protected ShadowIntegrityCheckResultHandler createHandler(TaskRunResult runResult, Task coordinatorTask, OperationResult opResult)
createHandler
in class AbstractSearchIterativeTaskHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType,ShadowIntegrityCheckResultHandler>
protected boolean initializeRun(ShadowIntegrityCheckResultHandler handler, TaskRunResult runResult, Task task, OperationResult opResult)
AbstractSearchIterativeTaskHandler
initializeRun
in class AbstractSearchIterativeTaskHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType,ShadowIntegrityCheckResultHandler>
protected Class<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> getType(Task task)
getType
in class AbstractSearchIterativeTaskHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType,ShadowIntegrityCheckResultHandler>
protected ObjectQuery createQuery(ShadowIntegrityCheckResultHandler handler, TaskRunResult runResult, Task task, OperationResult opResult) throws SchemaException
AbstractSearchIterativeTaskHandler
createQuery
in class AbstractSearchIterativeTaskHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType,ShadowIntegrityCheckResultHandler>
SchemaException
protected boolean useRepositoryDirectly(ShadowIntegrityCheckResultHandler resultHandler, TaskRunResult runResult, Task coordinatorTask, OperationResult opResult)
useRepositoryDirectly
in class AbstractSearchIterativeTaskHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType,ShadowIntegrityCheckResultHandler>
public String getCategoryName(Task task)
TaskHandler
task
- a task, whose category is to be determined; if getCategoryNames() returns null, this method
has to accept null value as this parameter, and return the (one) category name that it gives
to all taskspublic List<String> getCategoryNames()
TaskHandler
Copyright © 2016 evolveum. All rights reserved.