public interface AgentIdleTasks
| Modifier and Type | Interface and Description |
|---|---|
static interface |
AgentIdleTasks.Task |
| Modifier and Type | Method and Description |
|---|---|
void |
addRecurringTask(AgentIdleTasks.Task task)
Adds new task which should be executed periodically when agent becomes idle.
|
AgentIdleTasks.Task |
removeRecurringTask(java.lang.String taskName)
Removes task with given name.
|
void addRecurringTask(@NotNull
AgentIdleTasks.Task task)
task - the task to execute@Nullable AgentIdleTasks.Task removeRecurringTask(@NotNull java.lang.String taskName)
taskName - name of the task