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

احصل على البيانات

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

إلى سلسلة

public String toString ()

عائدات
String