|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.jemmy.QueueTool.QueueAction
public abstract static class QueueTool.QueueAction
Action to be excuted through event queue.
Even if it was executed without waiting by invoke(QueueAction)
execution process can be monitored by getResult()
,
getException()
, getFinished()
methods.
Constructor Summary | |
---|---|
QueueTool.QueueAction(java.lang.String description)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Action description. |
java.lang.Exception |
getException()
Returns exception occured during action execution (if any). |
boolean |
getFinished()
Informs whether action has been finished or not. |
java.lang.Object |
getResult()
Returns action result if action has already been finished, null otherwise. |
abstract java.lang.Object |
launch()
Method to implement action functionality. |
void |
run()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueueTool.QueueAction(java.lang.String description)
description
- a description.Method Detail |
---|
public abstract java.lang.Object launch() throws java.lang.Exception
java.lang.Exception
public final void run()
run
in interface java.lang.Runnable
public java.lang.String getDescription()
public java.lang.Object getResult()
public java.lang.Exception getException()
launch()
method.public boolean getFinished()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |