ClusterCommandEvent

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)

สร้าง 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