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, devicesStates) invocationComplete ( IInvocationContext context, devicesStates) すべての |
void | invocationInitiated ( IInvocationContext context) 呼び出しが開始されたときのコールバック。 |
パブリック コンストラクター
CommandStatusHandler
public CommandStatusHandler ()
公開メソッド
getCurrentStatus
public InvocationStatus.Status getCurrentStatus ()
呼び出しの現在既知のステータスを返します。
戻り値 | |
---|---|
InvocationStatus.Status |
呼び出し完了
public void invocationComplete (IInvocationContext context,devicesStates)
すべてのITestInvocationListener.invocationEnded(long)
イベントを含む呼び出し全体が完了したときのコールバック。
呼び出しが開始されました
public void invocationInitiated (IInvocationContext context)
呼び出しが開始されたときのコールバック。これは、ビルドがフェッチされる前に呼び出されます。