@Component public class RecomputeTaskHandler extends AbstractSearchIterativeTaskHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.UserType,AbstractSearchIterativeResultHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.UserType>>
Modifier and Type | Field and Description |
---|---|
static String |
HANDLER_URI |
modelObjectResolver
Constructor and Description |
---|
RecomputeTaskHandler() |
Modifier and Type | Method and Description |
---|---|
protected AbstractSearchIterativeResultHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.UserType> |
createHandler(TaskRunResult runResult,
Task coordinatorTask,
OperationResult opResult) |
protected ObjectQuery |
createQuery(AbstractSearchIterativeResultHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.UserType> 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.
|
finish, getObjectQueryTypeFromTask, heartbeat, initializeRun, isLogFinishInfo, refreshStatus, resolveObjectRef, run, setLogFinishInfo
public static final String HANDLER_URI
protected ObjectQuery createQuery(AbstractSearchIterativeResultHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.UserType> handler, TaskRunResult runResult, Task task, OperationResult opResult) throws SchemaException
AbstractSearchIterativeTaskHandler
createQuery
in class AbstractSearchIterativeTaskHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.UserType,AbstractSearchIterativeResultHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.UserType>>
SchemaException
protected AbstractSearchIterativeResultHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.UserType> createHandler(TaskRunResult runResult, Task coordinatorTask, OperationResult opResult)
createHandler
in class AbstractSearchIterativeTaskHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.UserType,AbstractSearchIterativeResultHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.UserType>>
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 © 2015 evolveum. All rights reserved.