Package org.kquiet.browser.action
Interface Composable
- All Known Subinterfaces:
MultiPhased
- All Known Implementing Classes:
Click,CloseWindow,Custom,Extract,GetUrl,IfThenElse,JustWait,MouseOver,MultiPhaseAction,OpenWindow,PostForm,ReplyAlert,ScrollToView,Select,SendKey,SinglePhaseAction,Upload,WaitUntil
public interface Composable
An interface which should be implemented by any action which delegates its execution to
ActionComposer.- Author:
- Kimberly
-
Method Summary
Modifier and TypeMethodDescriptionGet containing composer.Get the errors occurred during execution.booleanisDone()Check if this action is done.booleanisFail()Check if this action is failed.voidperform()Perform action.setComposer(ActionComposer composer) Set containing composer.
-
Method Details
-
getComposer
ActionComposer getComposer()Get containing composer.- Returns:
- containing composer
-
setComposer
Set containing composer.- Parameters:
composer- the containing composer to set- Returns:
- invoking
Composable
-
perform
void perform()Perform action. -
getErrors
Get the errors occurred during execution.- Returns:
- the errors as a list of
Exception
-
isDone
boolean isDone()Check if this action is done.- Returns:
trueif this action is done;falseotherwise
-
isFail
boolean isFail()Check if this action is failed.- Returns:
trueif this action is failed;falseotherwise
-