org.netbeans.jemmy.operators
Class Operator.MapLongAction
java.lang.Object
org.netbeans.jemmy.QueueTool.QueueAction
org.netbeans.jemmy.operators.Operator.MapLongAction
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- Operator
protected abstract class Operator.MapLongAction
- extends QueueTool.QueueAction
Can be used to simplify long component's methods mapping.
- See Also:
Operator.runMapping(Operator.MapLongAction)
Method Summary |
Object |
launch()
Method to implement action functionality. |
abstract long |
map()
Executes a map action. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Operator.MapLongAction
public Operator.MapLongAction(String description)
- Constructs a MapLongAction object.
- Parameters:
description
- an action description.
launch
public final Object launch()
throws Exception
- Description copied from class:
QueueTool.QueueAction
- Method to implement action functionality.
- Specified by:
launch
in class QueueTool.QueueAction
- Returns:
- an Object - action result
- Throws:
Exception
map
public abstract long map()
throws Exception
- Executes a map action.
- Returns:
- an action result.
- Throws:
Exception