GcsRemoteFileResolver

public class GcsRemoteFileResolver
extends Object implements IRemoteFileResolver

java.lang.Object
com.android.tradefed.config.remote.GcsRemoteFileResolver


允許從 GCS 存儲桶下載的IRemoteFileResolver的實現。

概括

領域

public static final String PROTOCOL

公共構造函數

GcsRemoteFileResolver ()

公共方法

String getSupportedProtocol ()

返回支持下載的關聯協議。

IRemoteFileResolver.ResolvedFile resolveRemoteFile ( IRemoteFileResolver.RemoteFileResolverArgs args)

在面向未來的界面中解析遠程文件

受保護的方法

GCSDownloaderHelper getDownloader ()

領域

協議

public static final String PROTOCOL

公共構造函數

GcsRemoteFileResolver

public GcsRemoteFileResolver ()

公共方法

獲取支持協議

public String getSupportedProtocol ()

返回支持下載的關聯協議。

退貨
String

解析遠程文件

public IRemoteFileResolver.ResolvedFile resolveRemoteFile (IRemoteFileResolver.RemoteFileResolverArgs args)

在面向未來的界面中解析遠程文件

參數
args IRemoteFileResolver.RemoteFileResolverArgsRemoteFileResolverArgs描述遠程下載以及如何下載。

退貨
IRemoteFileResolver.ResolvedFile已解析的本地文件表示。

投擲
BuildRetrievalError

受保護的方法

獲取下載器

protected GCSDownloaderHelper getDownloader ()

退貨
GCSDownloaderHelper