GCSDownloaderHelper

public class GCSDownloaderHelper
extends Object

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


Program do pobierania zasobnika GCS, który odpowiada za buforowanie i rozwiązywanie konfiguracji globalnej.

Podsumowanie

Konstruktory publiczne

GCSDownloaderHelper()

Metody publiczne

void fetchTestResource(File destFile, String gsPath)

Pobierz zasób ze ścieżki GS.

File fetchTestResource(String gsPath)

Pobierz zasób ze ścieżki GS.

Konstruktory publiczne

GCSDownloaderHelper

public GCSDownloaderHelper ()

Metody publiczne

fetchTestResource

public void fetchTestResource (File destFile, 
                String gsPath)

Pobierz zasób ze ścieżki GS.

Parametry
destFile File: ERROR(/File) wskazujący na wyodrębniony zasób.

gsPath String: ścieżka do zasobu. Na przykład: gs://bucket/path/file

Rzuty
com.android.tradefed.build.BuildRetrievalError
BuildRetrievalError

fetchTestResource

public File fetchTestResource (String gsPath)

Pobierz zasób ze ścieżki GS.

Parametry
gsPath String: ścieżka do zasobu. Na przykład: gs://bucket/path/file

Zwroty
File Element ERROR(/File) wskazujący na wyodrębniony zasób.

Rzuty
com.android.tradefed.build.BuildRetrievalError
BuildRetrievalError