Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

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_ERROR_ID_CODE

public static final String DATA_KEY_ERROR_ID_NAME

public static final String DATA_KEY_ERROR_STATUS

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_SUBPROCESS_COMMAND_ERROR

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)

ベース作成Builder特定のためのClusterCommand

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_ERROR_ID_CODE

public static final String DATA_KEY_ERROR_ID_CODE

DATA_KEY_ERROR_ID_NAME

public static final String DATA_KEY_ERROR_ID_NAME

DATA_KEY_ERROR_STATUS

public static final String DATA_KEY_ERROR_STATUS

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_SUBPROCESS_COMMAND_ERROR

public static final String DATA_KEY_SUBPROCESS_COMMAND_ERROR

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)

ベース作成Builder特定のためのClusterCommand

パラメーター
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