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