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 Details

    • 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