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