GCSDownloaderHelper

public class GCSDownloaderHelper
extends Object

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


캐싱 및 전역 구성을 해결하는 GCS 버킷용 다운로더

요약

공개 생성자

GCSDownloaderHelper()

공개 메서드

File fetchTestResource(String gsPath)

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

void fetchTestResource(File destFile, String gsPath)

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

공개 생성자

GCSDownloaderHelper

public GCSDownloaderHelper ()

공개 메서드

fetchTestResource

public File fetchTestResource (String gsPath)

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

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

반환
File 가져온 리소스를 가리키는 File입니다.

생성 값
com.android.tradefed.build.BuildRetrievalError
BuildRetrievalError

fetchTestResource

public void fetchTestResource (File destFile, 
                String gsPath)

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

매개변수
destFile File: 가져온 리소스를 가리키는 File입니다.

gsPath String: 리소스가 있는 경로입니다. 예: gs://bucket/path/file

생성 값
com.android.tradefed.build.BuildRetrievalError
BuildRetrievalError