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

ל- JSON

public JSONObject toJSON ()

החזרות
JSONObject

זורק
JSONException

toString

public String toString ()

החזרות
String