Package com.logicaldoc.core.task
Class TaskManager
java.lang.Object
com.logicaldoc.core.task.TaskManager
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
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
-