ICommandScheduler.IScheduledInvocationListener

public static interface ICommandScheduler.IScheduledInvocationListener
implements ITestInvocationListener

com.android.tradefed.command.ICommandScheduler.IScheduledInvocationListener


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

摘要

公用方法

abstract void invocationComplete(IInvocationContext context, devicesStates)

在整個叫用作業完成時的回呼,包括所有 ITestInvocationListener.invocationEnded(long) 事件。

default void invocationInitiated(IInvocationContext context)

啟動叫用時的回呼。

default void releaseDevices(IInvocationContext context, devicesStates)

ICommandOptions.earlyDeviceRelease() 相關聯的回呼,用於在使用完畢後釋放裝置。

公用方法

invocationComplete

public abstract void invocationComplete (IInvocationContext context, 
                 devicesStates)

整個叫用作業 (包括所有 ITestInvocationListener.invocationEnded(long) 事件) 完成後的回呼。

invocationInitiated

public void invocationInitiated (IInvocationContext context)

在啟動叫用時的回呼。這個方法會在擷取任何版本之前呼叫。

releaseDevices

public void releaseDevices (IInvocationContext context, 
                 devicesStates)

ICommandOptions.earlyDeviceRelease() 相關聯的回呼,用於在使用完裝置後釋放裝置。