ClusterCommand이벤트

public class ClusterCommandEvent
extends Object implements IClusterEvent

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


업로드할 클러스터 명령 이벤트를 캡슐화하는 클래스입니다.

요약

중첩 클래스

class ClusterCommandEvent.Builder

상수

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)

지정된 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_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)

지정된 ClusterCommand 에 대한 기본 Builder 생성합니다.

매개변수
command ClusterCommand

보고
ClusterCommandEvent.Builder Builder .

getAtemptId

public String getAttemptId ()

보고
String

getCommandTaskId

public String getCommandTaskId ()

보고
String

데이터 가져오기

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