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()와 연결되어 기기 사용이 완료되면 기기를 해제하는 콜백입니다.