Google 致力于为黑人社区推动种族平等。查看具体举措
此页面由 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