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 Type
    Method
    Description
    void
    deleteTask(int code)
    Removes a task completely so that it does not run or exist.
    void
    Creates and schedules new task
    void
    updateTask(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

      void updateTask(Map<String,Object> properties)
      Updates an existing task with new properties.
      Parameters:
      properties -