GCSDownloaderHelper

public class GCSDownloaderHelper
extends Object

java.lang.Object
com.android.tradefed.build.gcs.GCSDownloaderHelper


キャッシュとグローバル構成の解決を処理する GCS バケットのダウンローダー。

概要

パブリック コンストラクタ

GCSDownloaderHelper()

パブリック メソッド

File fetchTestResource(String gsPath)

GS パスからリソースを取得します。

void fetchTestResource(File destFile, String gsPath)

GS パスからリソースを取得します。

パブリック コンストラクタ

GCSDownloaderHelper

public GCSDownloaderHelper ()

パブリック メソッド

fetchTestResource

public File fetchTestResource (String gsPath)

GS パスからリソースを取得します。

パラメータ
gsPath String: リソースが配置されているパス。例: gs://bucket/path/file

戻り値
File 取得したリソースを指す File

例外
com.android.tradefed.build.BuildRetrievalError
BuildRetrievalError

fetchTestResource

public void fetchTestResource (File destFile, 
                String gsPath)

GS パスからリソースを取得します。

パラメータ
destFile File: 取得したリソースを指す File

gsPath String: リソースが配置されているパス。例: gs://bucket/path/file

例外
com.android.tradefed.build.BuildRetrievalError
BuildRetrievalError