GCSDownloaderHelper

public class GCSDownloaderHelper
extends Object

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


Downloader untuk bucket GCS yang menangani penyimpanan dalam cache dan me-resolve konfigurasi global.

Ringkasan

Konstruktor publik

GCSDownloaderHelper()

Metode publik

void fetchTestResource(File destFile, String gsPath)

Ambil resource dari jalur GS.

File fetchTestResource(String gsPath)

Ambil resource dari jalur GS.

Konstruktor publik

GCSDownloaderHelper

public GCSDownloaderHelper ()

Metode publik

fetchTestResource

public void fetchTestResource (File destFile, 
                String gsPath)

Ambil resource dari jalur GS.

Parameter
destFile File: ERROR(/File) yang mengarah ke resource yang diambil.

gsPath String: jalur tempat resource berada. Misalnya: gs://bucket/path/file

Menampilkan
com.android.tradefed.build.BuildRetrievalError
BuildRetrievalError

fetchTestResource

public File fetchTestResource (String gsPath)

Ambil resource dari jalur GS.

Parameter
gsPath String: jalur tempat resource berada. Misalnya: gs://bucket/path/file

Hasil
File ERROR(/File) yang mengarah ke resource yang diambil.

Menampilkan
com.android.tradefed.build.BuildRetrievalError
BuildRetrievalError