Google is committed to advancing racial equity for Black communities. See how.
本頁面由 Cloud Translation API 翻譯而成。
Switch to English

ClusterCommandEvent

public class ClusterCommandEvent
extends Object implements IClusterEvent

java.lang.Object
com.android.tradefed.cluster.ClusterCommandEvent


封裝要上載的集群命令事件的類。

概要

嵌套類

class ClusterCommandEvent.Builder

enum ClusterCommandEvent.Type

常數

int MAX_DATA_STRING_SIZE

領域

public static final String DATA_KEY_ERROR

public static final String DATA_KEY_FAILED_TEST_COUNT

public static final String DATA_KEY_FAILED_TEST_RUN_COUNT

public static final String DATA_KEY_FETCH_BUILD_TIME_MILLIS

public static final String DATA_KEY_LOST_DEVICE_DETECTED

public static final String DATA_KEY_PASSED_TEST_COUNT

public static final String DATA_KEY_SETUP_TIME_MILLIS

public static final String DATA_KEY_SUMMARY

public static final String DATA_KEY_TOTAL_TEST_COUNT

公開方法

static ClusterCommandEvent.Builder createEventBuilder ()

創建一個基本的Builder

static ClusterCommandEvent.Builder createEventBuilder ( ClusterCommand command)

為給定的ClusterCommand創建一個基本的Builder

String getAttemptId ()
String getCommandTaskId ()
getData ()
getDeviceSerials ()
String getHostName ()
InvocationStatus getInvocationStatus ()
long getTimestamp ()
ClusterCommandEvent.Type getType ()
JSONObject toJSON ()

String toString ()

常數

MAX_DATA_STRING_SIZE

public static final int MAX_DATA_STRING_SIZE

常數:4095(0x00000fff)

領域

DATA_KEY_ERROR

public static final String DATA_KEY_ERROR

DATA_KEY_FAILED_TEST_COUNT

public static final String DATA_KEY_FAILED_TEST_COUNT

DATA_KEY_FAILED_TEST_RUN_COUNT

public static final String DATA_KEY_FAILED_TEST_RUN_COUNT

DATA_KEY_FETCH_BUILD_TIME_MILLIS

public static final String DATA_KEY_FETCH_BUILD_TIME_MILLIS

DATA_KEY_LOST_DEVICE_DETECTED

public static final String DATA_KEY_LOST_DEVICE_DETECTED

DATA_KEY_PASSED_TEST_COUNT

public static final String DATA_KEY_PASSED_TEST_COUNT

DATA_KEY_SETUP_TIME_MILLIS

public static final String DATA_KEY_SETUP_TIME_MILLIS

DATA_KEY_SUMMARY

public static final String DATA_KEY_SUMMARY

DATA_KEY_TOTAL_TEST_COUNT

public static final String DATA_KEY_TOTAL_TEST_COUNT

公開方法

createEventBuilder

public static ClusterCommandEvent.Builder createEventBuilder ()

創建一個基本的Builder

退貨
ClusterCommandEvent.Builder Builder

createEventBuilder

public static ClusterCommandEvent.Builder createEventBuilder (ClusterCommand command)

為給定的ClusterCommand創建一個基本的Builder

參量
command ClusterCommand

退貨
ClusterCommandEvent.Builder Builder

getAttemptId

public String getAttemptId ()

退貨
String

getCommandTaskId

public String getCommandTaskId ()

退貨
String

getData

public  getData ()

退貨

getDeviceSerials

public  getDeviceSerials ()

退貨

getHostName

public String getHostName ()

退貨
String

getInvocationStatus

public InvocationStatus getInvocationStatus ()

退貨
InvocationStatus

getTimestamp

public long getTimestamp ()

退貨
long

getType

public ClusterCommandEvent.Type getType ()

退貨
ClusterCommandEvent.Type

toJSON

public JSONObject toJSON ()

退貨
JSONObject

投擲
JSONException

toString

public String toString ()

退貨
String