public class TaskAdapter extends java.lang.Object implements TaskListener
| Constructor and Description | 
|---|
TaskAdapter()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
taskCancelled(TaskEvent e)
Called when a task is cancelled successfully. 
 | 
void | 
taskComplete(TaskEvent e)
Called when a Task reaches the Completed state. 
 | 
void | 
taskException(TaskEvent e,
             java.lang.Exception ex)
Called when an exception is encountered in the process. 
 | 
void | 
taskPaused(TaskEvent e)
Called when a Task is paused. 
 | 
void | 
taskProgress(ProgressEvent e)
Called everytime that Task provides a progress update 
 | 
void | 
taskStarted(TaskEvent e)
Called when a Task is started or restarted after a Pause 
 | 
void | 
taskUpdate(UpdateEvent e)
Called everytime the task has some update to provide (other than state
 change or progress). 
 | 
public void taskComplete(TaskEvent e)
TaskListenertaskComplete in interface TaskListenere - TaskEvent a reference of the TaskEvent for this callbackpublic void taskException(TaskEvent e, java.lang.Exception ex)
TaskListenertaskException in interface TaskListenere - TaskEvent a reference of the TaskEvent for this callbackex - Exception the Exception which caused the callback. The
 task is terminated after an exception.public void taskPaused(TaskEvent e)
TaskListenertaskPaused in interface TaskListenere - TaskEvent a reference of the TaskEvent for this callbackpublic void taskStarted(TaskEvent e)
TaskListenertaskStarted in interface TaskListenere - TaskEvent a reference of the TaskEvent for this callbackpublic void taskProgress(ProgressEvent e)
TaskListenertaskProgress in interface TaskListenere - TaskProgress a reference to a TaskProgress instance which
 contains details of the progress of this task as generated by the
 implementor.public void taskUpdate(UpdateEvent e)
TaskListenertaskUpdate in interface TaskListenere - TaskUpdate the TaskUpdate will contain detailspublic void taskCancelled(TaskEvent e)
TaskListenertaskCancelled in interface TaskListenere - TaskEvent the TaskEvent will contain details