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.boolean
isDone()
Check if this action is done.boolean
isFail()
Check if this action is failed.void
perform()
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:
true
if this action is done;false
otherwise
-
isFail
boolean isFail()Check if this action is failed.- Returns:
true
if this action is failed;false
otherwise
-