Package com.logicaldoc.core.task
Class TaskManager
- java.lang.Object
 - 
- com.logicaldoc.core.task.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 Summary
Constructors Constructor Description TaskManager() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Task>getTasks()Retrieves the collection of all defined tasks: the ones enlisted in the Task extension point.voidregisterTasks()voidstop()Stops all tasks and waits for them 
 - 
 
- 
- 
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 
 - 
 
 -