Interface Task

  • All Known Implementing Classes:
    ValidationTask

    public interface Task
    Defines an interface all tasks must implement.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  Task.Status
      Defines the states a task can be in.
    • Method Detail

      • execute

        void execute​(TaskAdvisor advisor)
        Executes the task with a given advisor to detect cancel requests.
        Parameters:
        advisor - the task advisor