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 Summary

    Modifier and Type Method Description
    void execute​(TaskAdvisor advisor)
    Executes the task with a given advisor to detect cancel requests.
  • Method Details

    • execute

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