|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The OperationObserver
is an interface which represents
an observer of progress of an operation.
Method Summary | |
void |
notifyEnd(java.lang.Exception exception)
Invoked when the operation ends. |
void |
notifyFailed(java.lang.Object arg)
Invoked when a task is failed. |
void |
notifyStart()
Invoked when the operation starts. |
void |
notifySucceeded(java.lang.Object arg)
Invoked when a task is succeeded. |
void |
notifyWarned(java.lang.Object arg)
Invoked when a task is warned. |
Method Detail |
public void notifyStart()
public void notifyEnd(java.lang.Exception exception)
exception
- the exception if an error occurs, or null if
succeeded.public void notifySucceeded(java.lang.Object arg)
arg
- the argument.public void notifyFailed(java.lang.Object arg)
arg
- the argument.public void notifyWarned(java.lang.Object arg)
arg
- the argument.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |