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 void
Perform single-phased browser action.toString()
Methods inherited from class org.kquiet.browser.action.SinglePhaseAction
performMultiPhase
Methods 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:SinglePhaseAction
Perform single-phased browser action.- Specified by:
performSinglePhase
in classSinglePhaseAction
-
toString
- Overrides:
toString
in classMultiPhaseAction
-