TestDependencyResolver

public class TestDependencyResolver
extends Object

java.lang.Object
   ↳ com.android.tradefed.dependency.TestDependencyResolver


Helper เพื่อแก้ไข Dependency หากจำเป็น

สรุป

เครื่องมือสร้างสาธารณะ

TestDependencyResolver()

เมธอดสาธารณะ

static File resolveDependencyFromContext(File dependency, IBuildInfo build, IInvocationContext context)

แก้ไขการขึ้นต่อกันรายการเดียวตามบริบทบางอย่าง

เครื่องมือสร้างสาธารณะ

TestDependencyResolver

public TestDependencyResolver ()

เมธอดสาธารณะ

resolveDependencyFromContext

public static File resolveDependencyFromContext (File dependency, 
                IBuildInfo build, 
                IInvocationContext context)

แก้ไขการขึ้นต่อกันรายการเดียวตามบริบทบางอย่าง

พารามิเตอร์
dependency File: ทรัพยากร Dependency ที่จะแก้ไข

build IBuildInfo: ข้อมูลบิลด์ปัจจุบันที่กำลังสร้าง

context IInvocationContext: บริบทการเรียกใช้

การคืนสินค้า
File ทรัพยากร Dependency ที่แก้ไขแล้วหรือค่า Null หากยังไม่ได้แก้ไข

ส่ง
com.android.tradefed.build.BuildRetrievalError
BuildRetrievalError