Phụ thuộcResolver

public class DependenciesResolver
extends Object implements IBuildProvider , IDeviceBuildProvider , IInvocationContextReceiver , IConfigurationReceiver

java.lang.Object
com.android.tradefed.build.DependenciesResolver


Một loại trình cung cấp mới cho phép lấy tất cả các phụ thuộc để thử nghiệm.

Bản tóm tắt

nhà thầu công cộng

DependenciesResolver ()

Phương thức công khai

void cleanUp ( IBuildInfo info)

Dọn dẹp mọi tệp bản dựng tạm thời.

IBuildInfo getBuild ()

Truy xuất dữ liệu cho bản dựng đang thử nghiệm.

IBuildInfo getBuild ( ITestDevice device)

Truy xuất dữ liệu cho bản dựng đang thử nghiệm

final getDependencies ()
void setConfiguration ( IConfiguration configuration)

Tiêm IConfiguration đang sử dụng.

void setInvocationContext ( IInvocationContext invocationContext)

nhà thầu công cộng

Phụ thuộcResolver

public DependenciesResolver ()

Phương thức công khai

dọn dẹp

public void cleanUp (IBuildInfo info)

Dọn dẹp mọi tệp bản dựng tạm thời.

Thông số
info IBuildInfo

getBuild

public IBuildInfo getBuild ()

Truy xuất dữ liệu cho bản dựng đang thử nghiệm.

trả lại
IBuildInfo IBuildInfo cho bản dựng đang được thử nghiệm hoặc null nếu không có bản dựng nào để thử nghiệm

ném
BuildRetrievalError

getBuild

public IBuildInfo getBuild (ITestDevice device)

Truy xuất dữ liệu cho bản dựng đang thử nghiệm

Thông số
device ITestDevice : ITestDevice được phân bổ để kiểm tra

trả lại
IBuildInfo IBuildInfo cho bản dựng đang được thử nghiệm hoặc null nếu không có bản dựng nào để thử nghiệm

ném
BuildRetrievalError
DeviceNotAvailableException

nhận phụ thuộc

public final  getDependencies ()

trả lại

thiết lập cấu hình

public void setConfiguration (IConfiguration configuration)

Tiêm IConfiguration đang sử dụng.

Thông số
configuration IConfiguration

setInvocationContext

public void setInvocationContext (IInvocationContext invocationContext)

Thông số
invocationContext IInvocationContext