ICommandScheduler.IScheduledInvocationListener

public static interface ICommandScheduler.IScheduledInvocationListener
implements ITestInvocationListener

com.android.tradefed.command.ICommandScheduler.IScheduledInvocationListener


Trình nghe các sự kiện lời gọi khi lời gọi hoàn tất.

Tóm tắt

Phương thức công khai

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

Lệnh gọi lại khi toàn bộ lệnh gọi đã hoàn tất, bao gồm tất cả các sự kiện ITestInvocationListener.invocationEnded(long).

default void invocationInitiated(IInvocationContext context)

Lệnh gọi lại khi một lệnh gọi được khởi tạo.

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

Lệnh gọi lại liên kết với ICommandOptions.earlyDeviceRelease() để phát hành các thiết bị khi hoàn tất.

Phương thức công khai

invocationComplete

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

Lệnh gọi lại khi toàn bộ lệnh gọi đã hoàn tất, bao gồm tất cả các sự kiện ITestInvocationListener.invocationEnded(long).

invocationInitiated

public void invocationInitiated (IInvocationContext context)

Lệnh gọi lại khi một lệnh gọi được khởi tạo. Lệnh này được gọi trước khi tìm nạp bất kỳ bản dựng nào.

releaseDevices

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

Lệnh gọi lại liên kết với ICommandOptions.earlyDeviceRelease() để phát hành các thiết bị khi hoàn tất.