|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.task.Task oracle.ide.task.CancellableTask
public abstract class CancellableTask
A cancellable task extends a Task with the additional method for requesting cancellation.
Field Summary |
---|
Fields inherited from class oracle.ide.task.Task |
---|
state, taskID |
Constructor Summary | |
---|---|
CancellableTask(java.lang.String shortName,
int maxProgress)
Constructor |
Method Summary | |
---|---|
void |
requestCancellation()
Request this task to Cancel itself. |
Methods inherited from class oracle.ide.task.Task |
---|
addTaskListener, getID, getListenerList, getNewTaskEvent, getResult, getShortName, getState, getTimeLeftSeconds, getTotalCount, performTask, removeTaskListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CancellableTask(java.lang.String shortName, int maxProgress) throws TaskException
shortName
- name usually displayed in UIsmaxProgress
- int the Maximum progress count for this task
TaskException
- if any parameters are not validMethod Detail |
---|
public void requestCancellation()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |