GCSHostResourceManager

public class GCSHostResourceManager
extends LocalHostResourceManager

java.lang.Object
com.android.tradefed.host.LocalHostResourceManager
com.android.tradefed.host.gcs.GCSHostResourceManager


从 GCS(Google 云存储)下载主机资源。

概括

公共构造函数

GCSHostResourceManager ()

受保护的方法

void clearHostResource (String name, File localFile)

清除本地主机资源。

File fetchHostResource (String name, String value)

从 GCS 下载主机资源到本地文件。

公共构造函数

GCSHostResourceManager

public GCSHostResourceManager ()

受保护的方法

清除主机资源

protected void clearHostResource (String name, 
                File localFile)

清除本地主机资源。

参数
name String : 宿主资源的id。

localFile File :本地文件。

获取主机资源

protected File fetchHostResource (String name, 
                String value)

从 GCS 下载主机资源到本地文件。

参数
name String :主机资源的名称。

value String :主机资源的远程路径。

退货
File本地文件。

投掷
ConfigurationException