public interface TaskHandler
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) |
void |
refreshStatus(Task task) |
TaskRunResult |
run(Task task) |
TaskRunResult run(Task task)
void refreshStatus(Task task)
String getCategoryName(Task task)
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 tasksCopyright © 2016 evolveum. All rights reserved.