GcsRemoteFileResolver

public class GcsRemoteFileResolver
extends Object implements IRemoteFileResolver

對象
com.android.tradefed.config.remote.GcsRemoteFileResolver


實施IRemoteFileResolver允許下載從GCS桶內。

概括

字段

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