Google cam kết thúc đẩy công bằng chủng tộc cho Cộng đồng người da đen. Xem cách thực hiện.
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.

IRemoteFileResolver

public interface IRemoteFileResolver

com.android.tradefed.config.remote.IRemoteFileResolver


Giao diện cho các đối tượng có thể phân giải tệp từ xa thành tệp cục bộ. Ví dụ: gs: //bucket/dir/file.txt sẽ được tải xuống và thay đổi thành đường dẫn cục bộ.

Bản tóm tắt

Các lớp lồng nhau

class IRemoteFileResolver.RemoteFileResolverArgs

Các args được chuyển cho các trình phân giải

class IRemoteFileResolver.ResolvedFile

Lớp nắm giữ thông tin về tệp đã giải quyết và một số siêu dữ liệu.

Phương pháp công khai

abstract String getSupportedProtocol ()

Trả về giao thức được liên kết được hỗ trợ để tải xuống.

default IRemoteFileResolver.ResolvedFile resolveRemoteFile ( IRemoteFileResolver.RemoteFileResolverArgs args)

Giải quyết tệp từ xa trong một giao diện phù hợp với tương lai

default File resolveRemoteFiles (File consideredFile)

Giải quyết tệp từ xa.

default File resolveRemoteFiles (File consideredFile, queryArgs) resolveRemoteFiles (File consideredFile, queryArgs)

Giải quyết tệp từ xa.

default void setPrimaryDevice ( ITestDevice device)

Cách tùy chọn để triển khai nhận được bản trình bày {@ink ITestDevice} của thiết bị đang được kiểm tra.

Phương pháp công khai

getSupportedProtocol

public abstract String getSupportedProtocol ()

Trả về giao thức được liên kết được hỗ trợ để tải xuống.

Lợi nhuận
String

ResolutionRemoteFile

public IRemoteFileResolver.ResolvedFile resolveRemoteFile (IRemoteFileResolver.RemoteFileResolverArgs args)

Giải quyết tệp từ xa trong một giao diện phù hợp với tương lai

Thông số
args IRemoteFileResolver.RemoteFileResolverArgs : RemoteFileResolverArgs mô tả điều khiển từ xa để tải xuống và cách thức.

Lợi nhuận
IRemoteFileResolver.ResolvedFile Biểu diễn tệp cục bộ đã giải quyết.

Ném
BuildRetrievalError Nếu có điều gì sai.

giải quyếtRemoteFiles

public File resolveRemoteFiles (File consideredFile)

Giải quyết tệp từ xa.

Thông số
consideredFile File : ERROR(/File) được đánh giá là từ xa.

Lợi nhuận
File Tệp cục bộ đã giải quyết.

Ném
BuildRetrievalError Nếu có điều gì sai.

giải quyếtRemoteFiles

public File resolveRemoteFiles (File consideredFile, 
                 queryArgs)

Giải quyết tệp từ xa.

Thông số
consideredFile File : ERROR(/File) được đánh giá là từ xa.

queryArgs : Các đối số được truyền dưới dạng truy vấn tới URL.

Lợi nhuận
File Tệp cục bộ đã giải quyết.

Ném
BuildRetrievalError Nếu có điều gì sai.

setPrimaryDevice

public void setPrimaryDevice (ITestDevice device)

Cách tùy chọn để triển khai nhận được bản trình bày {@ink ITestDevice} của thiết bị đang được kiểm tra.

Thông số
device ITestDevice : ITestDevice của lời gọi hiện tại.

,

IRemoteFileResolver

public interface IRemoteFileResolver

com.android.tradefed.config.remote.IRemoteFileResolver


Giao diện cho các đối tượng có thể phân giải tệp từ xa thành tệp cục bộ. Ví dụ: gs: //bucket/dir/file.txt sẽ được tải xuống và thay đổi thành đường dẫn cục bộ.

Bản tóm tắt

Các lớp lồng nhau

class IRemoteFileResolver.RemoteFileResolverArgs

Các args được chuyển cho các trình phân giải

class IRemoteFileResolver.ResolvedFile

Lớp nắm giữ thông tin về tệp đã giải quyết và một số siêu dữ liệu.

Phương pháp công khai

abstract String getSupportedProtocol ()

Trả về giao thức được liên kết được hỗ trợ để tải xuống.

default IRemoteFileResolver.ResolvedFile resolveRemoteFile ( IRemoteFileResolver.RemoteFileResolverArgs args)

Giải quyết tệp từ xa trong một giao diện phù hợp với tương lai

default File resolveRemoteFiles (File consideredFile)

Giải quyết tệp từ xa.

default File resolveRemoteFiles (File consideredFile, queryArgs) resolveRemoteFiles (File consideredFile, queryArgs)

Giải quyết tệp từ xa.

default void setPrimaryDevice ( ITestDevice device)

Cách tùy chọn để triển khai nhận được bản trình bày {@ink ITestDevice} của thiết bị đang được kiểm tra.

Phương pháp công khai

getSupportedProtocol

public abstract String getSupportedProtocol ()

Trả về giao thức được liên kết được hỗ trợ để tải xuống.

Lợi nhuận
String

ResolutionRemoteFile

public IRemoteFileResolver.ResolvedFile resolveRemoteFile (IRemoteFileResolver.RemoteFileResolverArgs args)

Giải quyết tệp từ xa trong một giao diện phù hợp với tương lai

Thông số
args IRemoteFileResolver.RemoteFileResolverArgs : RemoteFileResolverArgs mô tả điều khiển từ xa để tải xuống và cách thức.

Lợi nhuận
IRemoteFileResolver.ResolvedFile Biểu diễn tệp cục bộ đã giải quyết.

Ném
BuildRetrievalError Nếu có điều gì sai.

giải quyếtRemoteFiles

public File resolveRemoteFiles (File consideredFile)

Giải quyết tệp từ xa.

Thông số
consideredFile File : ERROR(/File) được đánh giá là từ xa.

Lợi nhuận
File Tệp cục bộ đã giải quyết.

Ném
BuildRetrievalError Nếu có điều gì sai.

giải quyếtRemoteFiles

public File resolveRemoteFiles (File consideredFile, 
                 queryArgs)

Giải quyết tệp từ xa.

Thông số
consideredFile File : ERROR(/File) được đánh giá là từ xa.

queryArgs : Các đối số được truyền dưới dạng truy vấn tới URL.

Lợi nhuận
File Tệp cục bộ đã giải quyết.

Ném
BuildRetrievalError Nếu có điều gì sai.

setPrimaryDevice

public void setPrimaryDevice (ITestDevice device)

Cách tùy chọn để triển khai nhận được bản trình bày {@ink ITestDevice} của thiết bị đang được kiểm tra.

Thông số
device ITestDevice : ITestDevice của lời gọi hiện tại.