Class TaskManager


  • public class TaskManager
    extends Object
    A manager that collects all operations about tasks.

    Important: Only tasks defined in the Task extension point will be considered

    Since:
    3.5.0
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • TaskManager

        public TaskManager()
    • Method Detail

      • registerTasks

        public void registerTasks()
      • getTasks

        public Collection<Task> getTasks()
        Retrieves the collection of all defined tasks: the ones enlisted in the Task extension point.
        Returns:
        collection of tasks
      • stop

        public void stop()
        Stops all tasks and waits for them