org.netbeans.jemmy
Interface Action

All Known Subinterfaces:
WindowJob
All Known Implementing Classes:
ActionProducer, Operator.NoBlockingAction, Test, WindowManager.ModalDialogChoosingJob

public interface Action

Defines an action to be executed by ActionProducer instance.

Author:
Alexandre Iline (alexandre.iline@sun.com)
See Also:
ActionProducer

Method Summary
 String getDescription()
          Returns the description value.
 Object launch(Object obj)
          Executes this action.
 

Method Detail

launch

Object launch(Object obj)
Executes this action.

Parameters:
obj - action argument. This argument might be the method parameter in an invocation of ActionProducer.produceAction(Object). This argument might be a java.lang.String[] that lists the command line arguments used to execute a test (or not).
Returns:
action result.

getDescription

String getDescription()
Returns the description value.

Returns:
Action description.