コマンドステータスハンドラー

public class CommandStatusHandler
extends Object implements ICommandScheduler.IScheduledInvocationListener

java.lang.オブジェクト
com.android.tradefed.service.management.CommandStatusHandler


呼び出しのステータスの監視と更新を支援するハンドラー。

まとめ

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

CommandStatusHandler ()

パブリックメソッド

InvocationStatus.Status getCurrentStatus ()

現在わかっている呼び出しのステータスを返します。

void invocationComplete ( IInvocationContext context, devicesStates) invocationComplete ( IInvocationContext context, devicesStates)

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

void invocationInitiated ( IInvocationContext context)

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

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

コマンドステータスハンドラー

public CommandStatusHandler ()

パブリックメソッド

現在のステータスを取得する

public InvocationStatus.Status getCurrentStatus ()

現在わかっている呼び出しのステータスを返します。

戻り値
InvocationStatus.Status

呼び出し完了

public void invocationComplete (IInvocationContext context, 
                 devicesStates)

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

呼び出しが開始されました

public void invocationInitiated (IInvocationContext context)

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