Class CachingBrowser
- java.lang.Object
-
- jetbrains.buildServer.util.browser.CachingBrowser
-
-
Constructor Summary
Constructors Constructor Description CachingBrowser(Browser srcBrowser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Behaviour
getBehaviour()
Returns the browser behaviour options.Element
getElement(java.lang.String path)
Element
getRoot()
Returns the root element.
-
-
-
Constructor Detail
-
CachingBrowser
public CachingBrowser(@NotNull Browser srcBrowser)
-
-
Method Detail
-
getRoot
@NotNull public Element getRoot() throws BrowserException
Description copied from interface:Browser
Returns the root element.- Specified by:
getRoot
in interfaceBrowser
- Returns:
- root element
- Throws:
BrowserException
- in case of an error
-
getElement
@Nullable public Element getElement(@NotNull java.lang.String path) throws BrowserException
- Specified by:
getElement
in interfaceBrowser
- Parameters:
path
- path to some element- Returns:
- element for specified path or null if element does not exist
- Throws:
BrowserException
-
getBehaviour
@NotNull public Behaviour getBehaviour()
Description copied from interface:Browser
Returns the browser behaviour options.For most implementations
Behaviour.DEFAULT_BEHAVIOUR
is returned.- Specified by:
getBehaviour
in interfaceBrowser
- Returns:
- browser behaviour
-
-