Class QueueTool.QueueAction
java.lang.Object
org.netbeans.jemmy.QueueTool.QueueAction
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
EventDriver.Dispatcher, Operator.MapAction, Operator.MapBooleanAction, Operator.MapByteAction, Operator.MapCharacterAction, Operator.MapDoubleAction, Operator.MapFloatAction, Operator.MapIntegerAction, Operator.MapLongAction, Operator.MapVoidAction
- Enclosing class:
QueueTool
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.- Author:
- Alexandre Iline (alexandre.iline@sun.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAction description.Returns exception occured during action execution (if any).booleanInforms whether action has been finished or not.Returns action result if action has already been finished, null otherwise.abstract Objectlaunch()Method to implement action functionality.final voidrun()
-
Constructor Details
-
QueueAction
-
-
Method Details
-
launch
-
run
-
getDescription
-
getResult
Returns action result if action has already been finished, null otherwise.- Returns:
- an action result.
-
getException
Returns exception occured during action execution (if any).- Returns:
- the Exception happened inside
launch()method.
-
getFinished
public boolean getFinished()Informs whether action has been finished or not.- Returns:
- true if this action have been finished
-