GCSDownloaderHelper

public class GCSDownloaderHelper
extends Object

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


Narzędzie do pobierania z zasobnika GCS, które zajmuje się buforowaniem i rozwiązywaniem konfiguracji globalnej.

Podsumowanie

Konstruktory publiczne

GCSDownloaderHelper()

Metody publiczne

File fetchTestResource(String gsPath)

Pobierz zasób ze ścieżki GS.

void fetchTestResource(File destFile, String gsPath)

Pobierz zasób ze ścieżki GS.

Konstruktory publiczne

GCSDownloaderHelper

public GCSDownloaderHelper ()

Metody publiczne

fetchTestResource

public File fetchTestResource (String gsPath)

Pobierz zasób ze ścieżki GS.

Parametry
gsPath String: ścieżka, w której znajduje się zasób. Na przykład: gs://bucket/path/file

Zwraca
File File wskazujący pobrany zasób.

Zgłasza
com.android.tradefed.build.BuildRetrievalError
BuildRetrievalError

fetchTestResource

public void fetchTestResource (File destFile, 
                String gsPath)

Pobierz zasób ze ścieżki GS.

Parametry
destFile File: File wskazujący pobrany zasób.

gsPath String: ścieżka, w której znajduje się zasób. Na przykład: gs://bucket/path/file

Zgłasza
com.android.tradefed.build.BuildRetrievalError
BuildRetrievalError