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