Class TaskManager

java.lang.Object
com.logicaldoc.core.task.TaskManager

@Component("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 Details

    • TaskManager

      public TaskManager()
  • Method Details

    • 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