GcsRemoteFileResolver
public
class
GcsRemoteFileResolver
extends Object
implements
IRemoteFileResolver
java.lang.Object | |
↳ | com.android.tradefed.config.remote.GcsRemoteFileResolver |
Implementation of IRemoteFileResolver
that allows downloading from a GCS bucket.
Summary
Fields | |
---|---|
public
static
final
String |
PROTOCOL
|
Public constructors | |
---|---|
GcsRemoteFileResolver()
|
Public methods | |
---|---|
String
|
getSupportedProtocol()
Returns the associated protocol supported for download. |
File
|
resolveRemoteFiles(File consideredFile,
Resolve the remote file. |
Protected methods | |
---|---|
GCSDownloaderHelper
|
getDownloader()
|
Fields
PROTOCOL
public static final String PROTOCOL
Public constructors
GcsRemoteFileResolver
public GcsRemoteFileResolver ()
Public methods
getSupportedProtocol
public String getSupportedProtocol ()
Returns the associated protocol supported for download.
Returns | |
---|---|
String |
resolveRemoteFiles
public File resolveRemoteFiles (File consideredFile,query)
Resolve the remote file.
Parameters | |
---|---|
consideredFile |
File : ERROR(/File) evaluated as remote. |
query |
: The arguments passed as a query to the URL. |
Returns | |
---|---|
File |
The resolved local file. |
Throws | |
---|---|
BuildRetrievalError |