Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.
Tetap teratur dengan koleksi Simpan dan kategorikan konten berdasarkan preferensi Anda.

ClusterCommandEvent

public class ClusterCommandEvent
extends Object implements IClusterEvent

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


Kelas untuk merangkum peristiwa perintah cluster yang akan diunggah.

Ringkasan

Kelas bersarang

class ClusterCommandEvent.Builder

enum ClusterCommandEvent.Type

Konstanta

int MAX_DATA_STRING_SIZE

bidang

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

Metode publik

static ClusterCommandEvent.Builder createEventBuilder ()

Menciptakan basis Builder .

static ClusterCommandEvent.Builder createEventBuilder ( ClusterCommand command)

Menciptakan basis Builder untuk diberikan ClusterCommand .

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

String toString ()

Konstanta

MAX_DATA_STRING_SIZE

public static final int MAX_DATA_STRING_SIZE

Nilai Konstan: 4095 (0x000000fff)

bidang

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

Metode publik

buatEventBuilder

public static ClusterCommandEvent.Builder createEventBuilder ()

Menciptakan basis Builder .

Kembali
ClusterCommandEvent.Builder a Builder .

buatEventBuilder

public static ClusterCommandEvent.Builder createEventBuilder (ClusterCommand command)

Menciptakan basis Builder untuk diberikan ClusterCommand .

Parameter
command ClusterCommand

Kembali
ClusterCommandEvent.Builder a Builder .

getAttemptId

public String getAttemptId ()

Kembali
String

getCommandTaskId

public String getCommandTaskId ()

Kembali
String

getData

public  getData ()

Kembali

dapatkanDeviceSerials

public  getDeviceSerials ()

Kembali

getHostName

public String getHostName ()

Kembali
String

getInvocationStatus

public InvocationStatus getInvocationStatus ()

Kembali
InvocationStatus

dapatkan stempel waktu

public long getTimestamp ()

Kembali
long

getType

public ClusterCommandEvent.Type getType ()

Kembali
ClusterCommandEvent.Type

keJSON

public JSONObject toJSON ()

Kembali
JSONObject

Melempar
JSONException

toString

public String toString ()

Kembali
String