ICommandScheduler.IScheduledInvocationListener
public static interface ICommandScheduler.IScheduledInvocationListener
implements ITestInvocationListener
com.android.tradefed.command.ICommandScheduler.IScheduledInvocationListener |
呼び出しが完了したときの呼び出しイベントのリスナー。
概要
パブリックメソッド | |
---|---|
abstract void | invocationComplete (IInvocationContext context, devicesStates) invocationComplete (IInvocationContext context, devicesStates) すべての |
default void | invocationInitiated (IInvocationContext context) 呼び出しが開始されたときのコールバック。 |
default void | releaseDevices (IInvocationContext context, devicesStates) releaseDevices (IInvocationContext context, devicesStates) |
パブリックメソッド
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()
に関連付けられたコールバックにより、デバイスの使用が終了したときにデバイスが解放されます。