GCSDownloaderHelper

public class GCSDownloaderHelper
extends Object

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


グローバル構成のキャッシュ保存と解決を行う GCS バケットのダウンローダー。

概要

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

GCSDownloaderHelper()

パブリック メソッド

void fetchTestResource(File destFile, String gsPath)

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

File fetchTestResource(String gsPath)

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

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

GCSDownloaderHelper

public GCSDownloaderHelper ()

パブリック メソッド

fetchTestResource

public void fetchTestResource (File destFile, 
                String gsPath)

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

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

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

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

fetchTestResource

public File fetchTestResource (String gsPath)

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

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

戻り値
File 取得したリソースを参照する ERROR(/File)

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