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)

在整個叫用作業完成時的回呼,包括所有 ITestInvocationListener.invocationEnded(long) 事件。

void invocationInitiated(IInvocationContext context)

啟動叫用時的回呼。

公用建構函式

CommandStatusHandler

public CommandStatusHandler ()

公用方法

getCurrentStatus

public InvocationStatus.Status getCurrentStatus ()

傳回目前已知的叫用狀態。

傳回
InvocationStatus.Status

invocationComplete

public void invocationComplete (IInvocationContext context, 
                 devicesStates)

整個叫用作業 (包括所有 ITestInvocationListener.invocationEnded(long) 事件) 完成後的回呼。

invocationInitiated

public void invocationInitiated (IInvocationContext context)

在啟動叫用時的回呼。這個方法會在擷取任何版本之前呼叫。