ICommandScheduler.IScheduledInvocationListener

public static interface ICommandScheduler.IScheduledInvocationListener
implements ITestInvocationListener

com.android.tradefed.command.ICommandScheduler.IScheduledInvocationListener


當叫用完成時,叫用事件的監聽器。

摘要

公用方法

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() 相關聯的回呼,可在裝置使用完畢後釋放裝置。