@Component public class ReconciliationTaskHandler extends Object implements TaskHandler
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_SHADOW_RECONCILIATION_FRESHNESS_INTERNAL |
static String |
HANDLER_URI |
Constructor and Description |
---|
ReconciliationTaskHandler() |
Modifier and Type | Method and Description |
---|---|
String |
getCategoryName(Task task)
Returns a category name for a given task.
|
List<String> |
getCategoryNames()
Returns names of task categories provided by this handler.
|
ReconciliationTaskResultListener |
getReconciliationTaskResultListener() |
Long |
heartbeat(Task task) |
void |
launch(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource,
QName objectclass,
Task task,
OperationResult parentResult)
Launch an import.
|
void |
refreshStatus(Task task) |
TaskRunResult |
run(Task coordinatorTask) |
TaskRunResult |
runInternal(Task coordinatorTask) |
void |
setReconciliationTaskResultListener(ReconciliationTaskResultListener reconciliationTaskResultListener) |
public static final String HANDLER_URI
public static final long DEFAULT_SHADOW_RECONCILIATION_FRESHNESS_INTERNAL
public ReconciliationTaskResultListener getReconciliationTaskResultListener()
public void setReconciliationTaskResultListener(ReconciliationTaskResultListener reconciliationTaskResultListener)
public TaskRunResult run(Task coordinatorTask)
run
in interface TaskHandler
public TaskRunResult runInternal(Task coordinatorTask)
public void launch(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource, QName objectclass, Task task, OperationResult parentResult)
public Long heartbeat(Task task)
heartbeat
in interface TaskHandler
public void refreshStatus(Task task)
refreshStatus
in interface TaskHandler
public String getCategoryName(Task task)
TaskHandler
getCategoryName
in interface 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
getCategoryNames
in interface TaskHandler
Copyright © 2016 evolveum. All rights reserved.