ICommandScheduler.IScheduledInvocationListener

public static interface ICommandScheduler.IScheduledInvocationListener
implements ITestInvocationListener

com.android.tradefed.command.ICommandScheduler.IScheduledInvocationListener


Listener สำหรับเหตุการณ์การเรียกใช้เมื่อการเรียกใช้เสร็จสมบูรณ์

ดูเพิ่มเติม:

สรุป

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

abstract void invocationComplete(IInvocationContext context, Map<ITestDeviceFreeDeviceState> devicesStates)

การเรียกกลับเมื่อการเรียกใช้ทั้งหมดเสร็จสมบูรณ์ รวมถึงเหตุการณ์ ITestInvocationListener.invocationEnded(long) ทั้งหมด

default void invocationInitiated(IInvocationContext context)

การเรียกกลับเมื่อมีการเริ่มการเรียกใช้

default void releaseDevices(IInvocationContext context, Map<ITestDeviceFreeDeviceState> devicesStates)

การเรียกกลับที่เชื่อมโยงกับ ICommandOptions.earlyDeviceRelease() เพื่อปล่อยอุปกรณ์เมื่อใช้งานเสร็จแล้ว

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

invocationComplete

public abstract void invocationComplete (IInvocationContext context, 
                Map<ITestDeviceFreeDeviceState> devicesStates)

การเรียกกลับเมื่อการเรียกใช้ทั้งหมดเสร็จสมบูรณ์ รวมถึงเหตุการณ์ ITestInvocationListener.invocationEnded(long) ทั้งหมด

invocationInitiated

public void invocationInitiated (IInvocationContext context)

การเรียกกลับเมื่อมีการเริ่มการเรียกใช้ ระบบจะเรียกใช้ฟังก์ชันนี้ก่อนที่จะดึงข้อมูลบิลด์

releaseDevices

public void releaseDevices (IInvocationContext context, 
                Map<ITestDeviceFreeDeviceState> devicesStates)

การเรียกกลับที่เชื่อมโยงกับ ICommandOptions.earlyDeviceRelease() เพื่อปล่อยอุปกรณ์เมื่อใช้งานเสร็จแล้ว