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)

दिए गए 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.

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