GCS主機資源管理器

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 下載主機資源到本機檔案。

公共構造函數

GCS主機資源管理器

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