Package org.kquiet.browser.action
Class GetUrl
java.lang.Object
org.kquiet.browser.action.MultiPhaseAction
org.kquiet.browser.action.SinglePhaseAction
org.kquiet.browser.action.GetUrl
- All Implemented Interfaces:
Composable,MultiPhased
GetUrl is a subclass of SinglePhaseAction which loads a web page.- Author:
- Kimberly
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidPerform single-phased browser action.toString()Methods inherited from class org.kquiet.browser.action.SinglePhaseAction
performMultiPhaseMethods inherited from class org.kquiet.browser.action.MultiPhaseAction
getActionState, getComposer, getCostTime, getErrors, hasNextPhase, isDone, isFail, noNextPhase, perform, setActionState, setComposer, switchToTopForFirefox
-
Constructor Details
-
GetUrl
Create an action to get current page's url.- Parameters:
url- the url of page
-
-
Method Details
-
performSinglePhase
protected void performSinglePhase()Description copied from class:SinglePhaseActionPerform single-phased browser action.- Specified by:
performSinglePhasein classSinglePhaseAction
-
toString
- Overrides:
toStringin classMultiPhaseAction
-