CommandStatusHandler
public
class
CommandStatusHandler
extends Object
implements
ICommandScheduler.IScheduledInvocationListener
| java.lang.Object | |
| ↳ | com.android.tradefed.service.management.CommandStatusHandler |
Handler helping to monitor and update the status of an invocation.
สรุป
เครื่องมือสร้างสาธารณะ | |
|---|---|
CommandStatusHandler()
|
|
เมธอดสาธารณะ | |
|---|---|
InvocationStatus.Status
|
getCurrentStatus()
แสดงสถานะที่ทราบในปัจจุบันของการเรียกใช้ |
void
|
invocationComplete(IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates)
การเรียกกลับเมื่อการเรียกใช้ทั้งหมดเสร็จสมบูรณ์ รวมถึงเหตุการณ์ |
void
|
invocationInitiated(IInvocationContext context)
การเรียกกลับเมื่อมีการเริ่มการเรียกใช้ |
เครื่องมือสร้างสาธารณะ
CommandStatusHandler
public CommandStatusHandler ()
เมธอดสาธารณะ
getCurrentStatus
public InvocationStatus.Status getCurrentStatus ()
แสดงสถานะที่ทราบในปัจจุบันของการเรียกใช้
| การแสดงผล | |
|---|---|
InvocationStatus.Status |
|
invocationComplete
public void invocationComplete (IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates)
การเรียกกลับเมื่อการเรียกใช้ทั้งหมดเสร็จสมบูรณ์ รวมถึงเหตุการณ์ ITestInvocationListener.invocationEnded(long) ทั้งหมด
invocationInitiated
public void invocationInitiated (IInvocationContext context)
การเรียกกลับเมื่อมีการเริ่มการเรียกใช้ ระบบจะเรียกใช้ฟังก์ชันนี้ก่อนที่จะดึงข้อมูลบิลด์