GCSD다운로더도우미

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 경로에서 리소스를 가져옵니다.

공개 생성자

GCSD다운로더도우미

public GCSDownloaderHelper ()

공개 메소드

테스트리소스 가져오기

public void fetchTestResource (File destFile, 
                String gsPath)

GS 경로에서 리소스를 가져옵니다.

매개변수
destFile File : 검색된 리소스를 가리키는 ERROR(/File) 입니다.

gsPath String : 리소스가 위치한 경로입니다. 예: gs://bucket/path/file

던지기
com.android.tradefed.build.BuildRetrievalError
BuildRetrievalError

테스트리소스 가져오기

public File fetchTestResource (String gsPath)

GS 경로에서 리소스를 가져옵니다.

매개변수
gsPath String : 리소스가 위치한 경로입니다. 예: gs://bucket/path/file

보고
File 검색된 리소스를 가리키는 ERROR(/File) 입니다.

던지기
com.android.tradefed.build.BuildRetrievalError
BuildRetrievalError