Interface TaskListener<V>

  • Type Parameters:
    V - The return type of the task.
    All Known Implementing Classes:
    TaskAdapter, WTKTaskListener

    public interface TaskListener<V>
    Task listener interface.
    • Method Detail

      • taskExecuted

        void taskExecuted​(Task<V> task)
        Called when the task has completed successfully.
        Parameters:
        task - The source of the task event.
      • executeFailed

        void executeFailed​(Task<V> task)
        Called when task execution has failed.
        Parameters:
        task - The source of the task event.