GCSDownloaderHelper
public class GCSDownloaderHelper
extends Object
java.lang.Object | |
↳ | com.android.tradefed.build.gcs.GCSDownloaderHelper |
GCS存储桶的下载程序,负责缓存和解析全局配置。
概括
公共建设者 | |
---|---|
GCSDownloaderHelper () |
公开方法 | |
---|---|
File | fetchTestResource (String gsPath) 从GS路径中获取资源。 |
公共建设者
GCSDownloaderHelper
public GCSDownloaderHelper ()
公开方法
fetchTestResource
public File fetchTestResource (String gsPath)
从GS路径中获取资源。
参数 | |
---|---|
gsPath | String :资源所在的路径。例如:gs:// bucket / path / file |
退货 | |
---|---|
File | 指向检索到的资源的ERROR(/File) 。 |
投掷 | |
---|---|
BuildRetrievalError |