Package com.hp.lft.sdk.web
Class BrowserDescription.Init<T extends BrowserDescription.Init<T>>
java.lang.Object
com.hp.lft.sdk.web.BrowserDescription.Init<T>
- Direct Known Subclasses:
- BrowserDescription.Builder
- Enclosing class:
- BrowserDescription
protected abstract static class BrowserDescription.Init<T extends BrowserDescription.Init<T>>
extends Object
Helper class for BrowserDescription.Builder.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()openTitle(StringProperty openTitle) Initializes the browser's initial title when first opened.Initializes the browser's initial title when first opened.openURL(StringProperty openURL) Initializes the URL from which the browser is first opened.Initializes the URL from which the browser is first opened.protected abstract Tself()Initializes aBrowserDescriptioncapability to the given value.title(StringProperty title) Initializes the browser's title.Initializes the browser's title.type(BrowserType type) Initializes the type of the Browser.url(StringProperty url) Initializes the current URL of the browser tab.Initializes the current URL of the browser tab.
- 
Constructor Details- 
Initprotected Init()
 
- 
- 
Method Details- 
self
- 
build
- 
openTitleInitializes the browser's initial title when first opened.- Parameters:
- openTitle- the browser's initial title when first opened.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
openTitleInitializes the browser's initial title when first opened.- Parameters:
- openTitle- a StringProperty(or RegExpProperty) representing the browser's initial title when first opened.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
openURLInitializes the URL from which the browser is first opened.- Parameters:
- openURL- the URL from which the browser is first opened.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
openURLInitializes the URL from which the browser is first opened.- Parameters:
- openURL- a StringProperty(or RegExpProperty) representing the URL from which the browser is first opened.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
titleInitializes the browser's title.- Parameters:
- title- the browser's title.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
titleInitializes the browser's title.- Parameters:
- title- a StringProperty(or RegExpProperty) representing the browser's title.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
urlInitializes the current URL of the browser tab.- Parameters:
- url- the current URL of the browser tab.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
urlInitializes the current URL of the browser tab.- Parameters:
- url- a StringProperty(or RegExpProperty) representing the current URL of the browser tab.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
typeInitializes the type of the Browser.- Parameters:
- type- the type of the Browser.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
setInitializes aBrowserDescriptioncapability to the given value.- Parameters:
- capability- the name of the capability to set value for.
- value- the new value of the capability.
- Returns:
- the description instance with the update state (builder pattern).
 
 
-