Class EmergencyStopTasks
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.core.workflow.EmergencyStopTasks
-
public class EmergencyStopTasks extends Object
This class define a class where the emergency tasks are stored- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(EmergencyStopTask task)
Add an emergency task.static EmergencyStopTasks
getInstance()
Get the singleton instance of the class.void
remove(EmergencyStopTask task)
Remove an emergency task.void
stop()
Stop all the tasks.
-
-
-
Method Detail
-
add
public void add(EmergencyStopTask task)
Add an emergency task.- Parameters:
task
- the task to add
-
remove
public void remove(EmergencyStopTask task)
Remove an emergency task.- Parameters:
task
- the task to add
-
stop
public void stop()
Stop all the tasks.
-
getInstance
public static EmergencyStopTasks getInstance()
Get the singleton instance of the class.- Returns:
- the singleton instance of the class
-
-