public class NoOpTaskHandler extends Object implements TaskHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
HANDLER_URI |
| 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.
|
Long |
heartbeat(Task task) |
static void |
instantiateAndRegister(TaskManager taskManager) |
void |
refreshStatus(Task task) |
TaskRunResult |
run(Task task) |
public static final String HANDLER_URI
public static void instantiateAndRegister(TaskManager taskManager)
public TaskRunResult run(Task task)
run in interface TaskHandlerpublic Long heartbeat(Task task)
heartbeat in interface TaskHandlerpublic void refreshStatus(Task task)
refreshStatus in interface TaskHandlerpublic String getCategoryName(Task task)
TaskHandlergetCategoryName in interface TaskHandlertask - 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()
TaskHandlergetCategoryNames in interface TaskHandlerCopyright © 2016 evolveum. All rights reserved.