public static class ChromeDriverBinaryHandler.ChromeStorageSources extends XmlStorageSource
fileName, nodeName, urlToLatestRelease| Constructor and Description |
|---|
ChromeStorageSources(String baseUrl) |
ChromeStorageSources(String baseUrl,
HttpClient client) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getExpectedKeyRegex(String requiredVersion,
String directory)
It is expected that this abstract method should return a regex that represents a key of an expected binary/file
stored in the xml storage.
|
protected String |
getExpectedKeyRegex(String requiredVersion,
String directory,
Architecture architecture) |
String |
getFileNameRegexToDownload(String version)
This method should returns a regex that represents a file name of the release asset that should be downloaded.
|
String |
getFileNameRegexToDownload(String version,
Architecture architecture) |
protected ExternalBinary |
getLatestRelease(String charset) |
getContentOfFirstElement, getDriverEntries, getLastModified, getLatestRelease, getLocation, getReleaseForVersion, getReleaseForVersion, getVersionpublic ChromeStorageSources(String baseUrl)
public ChromeStorageSources(String baseUrl, HttpClient client)
protected String getExpectedKeyRegex(String requiredVersion, String directory, Architecture architecture)
getExpectedKeyRegex in class XmlStorageSourceprotected String getExpectedKeyRegex(String requiredVersion, String directory)
XmlStorageSourcedirectory_name + / + file_name.getExpectedKeyRegex in class XmlStorageSourcerequiredVersion - The required version set using method XmlStorageSource.getReleaseForVersion(java.lang.String),
or otherwise nulldirectory - The directory for the current binary the regex is being matched againstprotected ExternalBinary getLatestRelease(String charset) throws Exception
getLatestRelease in class XmlStorageSourceExceptionpublic String getFileNameRegexToDownload(String version)
ExternalBinarySourcepublic String getFileNameRegexToDownload(String version, Architecture architecture)
Copyright © 2021 JBoss by Red Hat. All rights reserved.