net.sf.doolin.gui.monitor
Interface TaskListener<T,V>

Type Parameters:
T - the result type returned by the Task doInBackground and get methods
V - the type used for carrying out intermediate results by this Task publish and process methods
All Known Implementing Classes:
TaskMonitor

public interface TaskListener<T,V>

Interface between a TaskMonitor and a Task.

Author:
Damien Coraboeuf

Method Summary
 void onNoteChanged(Task<T,V> task, String note)
          This method is called when the task publishes a new note for the task monitor.
 

Method Detail

onNoteChanged

void onNoteChanged(Task<T,V> task,
                   String note)
This method is called when the task publishes a new note for the task monitor.

Parameters:
task - Task
note - Note


Copyright © 2011. All Rights Reserved.