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