Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.ide.task.event
Class TaskAdapter

java.lang.Object
  extended by oracle.ide.task.event.TaskAdapter

All Implemented Interfaces:
TaskListener
Direct Known Subclasses:
TaskManagerDialog

public class TaskAdapter
extends java.lang.Object
implements TaskListener

Constructor Summary
TaskAdapter()
           

 

Method Summary
 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).

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

TaskAdapter

public TaskAdapter()

Method Detail

taskComplete

public void taskComplete(TaskEvent e)
Description copied from interface: TaskListener
Called when a Task reaches the Completed state.
Specified by:
taskComplete in interface TaskListener
Parameters:
e - TaskEvent a reference of the TaskEvent for this callback

taskException

public void taskException(TaskEvent e,
                          java.lang.Exception ex)
Description copied from interface: TaskListener
Called when an exception is encountered in the process. If it is not a checked exception, then it will be wrapped in a TaskException.
Specified by:
taskException in interface TaskListener
Parameters:
e - TaskEvent a reference of the TaskEvent for this callback
ex - Exception the Exception which caused the callback. The task is terminated after an exception.

taskPaused

public void taskPaused(TaskEvent e)
Description copied from interface: TaskListener
Called when a Task is paused.
Specified by:
taskPaused in interface TaskListener
Parameters:
e - TaskEvent a reference of the TaskEvent for this callback

taskStarted

public void taskStarted(TaskEvent e)
Description copied from interface: TaskListener
Called when a Task is started or restarted after a Pause
Specified by:
taskStarted in interface TaskListener
Parameters:
e - TaskEvent a reference of the TaskEvent for this callback

taskProgress

public void taskProgress(ProgressEvent e)
Description copied from interface: TaskListener
Called everytime that Task provides a progress update
Specified by:
taskProgress in interface TaskListener
Parameters:
e - TaskProgress a reference to a TaskProgress instance which contains details of the progress of this task as generated by the implementor.

taskUpdate

public void taskUpdate(UpdateEvent e)
Description copied from interface: TaskListener
Called everytime the task has some update to provide (other than state change or progress). Lock acquisions may go into this category.
Specified by:
taskUpdate in interface TaskListener
Parameters:
e - TaskUpdate the TaskUpdate will contain details

taskCancelled

public void taskCancelled(TaskEvent e)
Description copied from interface: TaskListener
Called when a task is cancelled successfully.
Specified by:
taskCancelled in interface TaskListener
Parameters:
e - TaskEvent the TaskEvent will contain details

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.