Package com.sk89q.worldedit.util.task
Class SimpleSupervisor
java.lang.Object
com.sk89q.worldedit.util.task.SimpleSupervisor
- All Implemented Interfaces:
Supervisor
An implementation of a
Supervisor
.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SimpleSupervisor
public SimpleSupervisor()
-
-
Method Details
-
getTasks
Description copied from interface:Supervisor
Get a list of running or queued tasks.- Specified by:
getTasks
in interfaceSupervisor
- Returns:
- a list of tasks
-
monitor
Description copied from interface:Supervisor
Monitor the given task.- Specified by:
monitor
in interfaceSupervisor
- Parameters:
task
- the task
-