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() に関連付けられたコールバック。デバイスの使用が完了したときにデバイスを解放します。