CommandStatusHandler

public class CommandStatusHandler
extends Object implements ICommandScheduler.IScheduledInvocationListener

java.lang.Object
com.android.tradefed.service.management.CommandStatusHandler


呼び出しのステータスをモニタリングして更新するハンドラ。

概要

パブリック コンストラクタ

CommandStatusHandler()

パブリック メソッド

InvocationStatus.Status getCurrentStatus()

呼び出しの現在のステータスを返します。

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

すべての ITestInvocationListener.invocationEnded(long) イベントを含め、呼び出し全体が完了したときのコールバック。

void invocationInitiated(IInvocationContext context)

呼び出しが開始されたときのコールバック。

パブリック コンストラクタ

CommandStatusHandler

public CommandStatusHandler ()

パブリック メソッド

getCurrentStatus

public InvocationStatus.Status getCurrentStatus ()

呼び出しの現在のステータスを返します。

戻り値
InvocationStatus.Status

invocationComplete

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

すべての ITestInvocationListener.invocationEnded(long) イベントを含め、呼び出し全体が完了したときのコールバック。

invocationInitiated

public void invocationInitiated (IInvocationContext context)

呼び出しが開始されたときのコールバック。これは、ビルドが取得される前に呼び出されます。