Package ddf.platform.scheduler
Interface ScheduledTask
- All Known Implementing Classes:
ScheduledCommandTask
public interface ScheduledTask
Interface used mostly for the Managed Service Factory that will create tasks on the fly and
expose them as Services.
- Author:
- Ashraf Barakat
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteTask(int code) Removes a task completely so that it does not run or exist.voidnewTask()Creates and schedules new taskvoidupdateTask(Map<String, Object> properties) Updates an existing task with new properties.
-
Method Details
-
newTask
void newTask()Creates and schedules new task -
deleteTask
void deleteTask(int code) Removes a task completely so that it does not run or exist.- Parameters:
code- - not used- See Also:
-
updateTask
Updates an existing task with new properties.- Parameters:
properties-
-