Class DataRecoveryTask

  • All Implemented Interfaces:
    java.lang.Runnable

    public class DataRecoveryTask
    extends java.lang.Object
    implements java.lang.Runnable
    A Task is wrapper class that designed to execute multiple commands in sequence.
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • needWaitForFirstTaskToComplete

        public boolean needWaitForFirstTaskToComplete()
        For some task, it is benefit to wait for the first task to complete before starting to run the remaining ones. Thus, this is a task specific flag to set based on the purpose of the task.
      • getCommand

        public Command getCommand()