Class Operator.NoBlockingAction
java.lang.Object
org.netbeans.jemmy.operators.Operator.NoBlockingAction
- All Implemented Interfaces:
Action
- Enclosing class:
Operator
Can be used to make nonblocking operation implementation.
Typical scenario is:
produceNoBlocking(new NoBlockingAction("Button pushing") {
public Object doAction(Object param) {
push();
return(null);
}
});
produceNoBlocking(new NoBlockingAction("Button pushing") {
public Object doAction(Object param) {
push();
return(null);
}
});
- Author:
- Alexandre Iline (alexandre.iline@sun.com)
-
Constructor Details
-
NoBlockingAction
Constructs a NoBlockingAction object.- Parameters:
description- an action description.
-
-
Method Details
-
launch
Description copied from interface:ActionExecutes this action.- Specified by:
launchin interfaceAction- Parameters:
param- action argument. This argument might be the method parameter in an invocation ofActionProducer.produceAction(Object). This argument might be ajava.lang.String[]that lists the command line arguments used to execute a test (or not).- Returns:
- action result.
-
doAction
-
getDescription
Description copied from interface:ActionReturns the description value.- Specified by:
getDescriptionin interfaceAction- Returns:
- Action description.
-
setException
Specifies the exception.- Parameters:
e- an exception.- See Also:
-
getException
Returns an exception occured diring the action execution.- Returns:
- an exception.
- See Also:
-