GCSDownloaderHelper

public class GCSDownloaderHelper
extends Object

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


Downloader for GCS bucket that takes care of caching and resolving the global config.

Summary

Public constructors

GCSDownloaderHelper()

Public methods

File fetchTestResource(String gsPath)

Fetch the resource from the GS path.

Public constructors

GCSDownloaderHelper

public GCSDownloaderHelper ()

Public methods

fetchTestResource

public File fetchTestResource (String gsPath)

Fetch the resource from the GS path.

Parameters
gsPath String: the path where the resource is located. For example: gs://bucket/path/file

Returns
File The ERROR(/File) pointing to the retrieved resource.

Throws
BuildRetrievalError