ClusterCommandEvent

public class ClusterCommandEvent
extends Object implements IClusterEvent

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


Yüklenecek küme komut olaylarını kapsülleyen bir sınıf.

Özet

İç içe geçmiş sınıflar

class ClusterCommandEvent.Builder

Sabitler

int MAX_DATA_STRING_SIZE

Alanlar

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

Genel yöntemler

static ClusterCommandEvent.Builder createEventBuilder ()

Bir temel Builder oluşturur.

static ClusterCommandEvent.Builder createEventBuilder ( ClusterCommand command)

Verilen ClusterCommand için bir temel Builder oluşturur.

String getAttemptId ()
String getCommandTaskId ()
getData ()
getDeviceSerials ()
String getHostName ()
InvocationStatus getInvocationStatus ()
long getTimestamp ()
ClusterCommandEvent.Type getType ()
JSONObject toJSON ()

String toString ()

Sabitler

MAX_DATA_STRING_SIZE

public static final int MAX_DATA_STRING_SIZE

Sabit Değer: 4095 (0x00000fff)

Alanlar

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

Genel yöntemler

CreateEventBuilder

public static ClusterCommandEvent.Builder createEventBuilder ()

Bir temel Builder oluşturur.

İadeler
ClusterCommandEvent.Builder Bir Builder .

CreateEventBuilder

public static ClusterCommandEvent.Builder createEventBuilder (ClusterCommand command)

Verilen ClusterCommand için bir temel Builder oluşturur.

Parametreler
command ClusterCommand

İadeler
ClusterCommandEvent.Builder Bir Builder .

getTemptId

public String getAttemptId ()

İadeler
String

getCommandTaskId

public String getCommandTaskId ()

İadeler
String

veri al

public  getData ()

İadeler

getDeviceSerials

public  getDeviceSerials ()

İadeler

getHostName

public String getHostName ()

İadeler
String

getInvokasyon Durumu

public InvocationStatus getInvocationStatus ()

İadeler
InvocationStatus

Zaman damgasını al

public long getTimestamp ()

İadeler
long

getType

public ClusterCommandEvent.Type getType ()

İadeler
ClusterCommandEvent.Type

JSON'a

public JSONObject toJSON ()

İadeler
JSONObject

Atar
JSONException

toString

public String toString ()

İadeler
String