public static class EdgeDriverBinaryHandler.EdgeStorageSources extends UrlStorageSource
fileName, nodeName, urlToLatestRelease| Constructor and Description |
|---|
EdgeStorageSources(String baseUrl) |
EdgeStorageSources(String baseUrl,
HttpClient client) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getExpectedKeyRegex(String requiredVersion,
String directory) |
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) |
ExternalBinary |
getLatestRelease()
Retrieves information about the latest release of binary and returns an instance of
ExternalBinary that
represents the latest release. |
protected ExternalBinary |
getLatestRelease(String charset) |
getReleaseForVersion, getReleaseForVersion, getVersionpublic EdgeStorageSources(String baseUrl)
public EdgeStorageSources(String baseUrl, HttpClient client)
public ExternalBinary getLatestRelease() throws Exception
ExternalBinarySourceExternalBinary that
represents the latest release.getLatestRelease in interface ExternalBinarySourcegetLatestRelease in class UrlStorageSourceExternalBinary that contains information about the latest release of the binary.Exception - If anything bad happensprotected ExternalBinary getLatestRelease(String charset) throws Exception
getLatestRelease in class UrlStorageSourceExceptionpublic String getFileNameRegexToDownload(String version)
ExternalBinarySourcepublic String getFileNameRegexToDownload(String version, Architecture architecture)
Copyright © 2023 JBoss by Red Hat. All rights reserved.