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