Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.
Halaman ini diterjemahkan oleh Cloud Translation API.
Switch to English

ClusterCommandEvent

public class ClusterCommandEvent
extends Object implements IClusterEvent

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


Kelas untuk merangkum kejadian perintah klaster yang akan diunggah.

Ringkasan

Kelas bertingkat

class ClusterCommandEvent.Builder

enum ClusterCommandEvent.Type

Konstanta

int MAX_DATA_STRING_SIZE

Fields

public static final String DATA_KEY_ERROR

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_SUMMARY

public static final String DATA_KEY_TOTAL_TEST_COUNT

Metode publik

static ClusterCommandEvent.Builder createEventBuilder ()

Membuat Builder dasar.

static ClusterCommandEvent.Builder createEventBuilder ( ClusterCommand command)

Membuat Builder dasar untuk ClusterCommand diberikan.

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 Konstanta: 4095 (0x00000fff)

Fields

DATA_KEY_ERROR

public static final String DATA_KEY_ERROR

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_SUMMARY

public static final String DATA_KEY_SUMMARY

DATA_KEY_TOTAL_TEST_COUNT

public static final String DATA_KEY_TOTAL_TEST_COUNT

Metode publik

createEventBuilder

public static ClusterCommandEvent.Builder createEventBuilder ()

Membuat Builder dasar.

Kembali
ClusterCommandEvent.Builder seorang Builder .

createEventBuilder

public static ClusterCommandEvent.Builder createEventBuilder (ClusterCommand command)

Membuat Builder dasar untuk ClusterCommand diberikan.

Parameter
command ClusterCommand

Kembali
ClusterCommandEvent.Builder seorang Builder .

getAttemptId

public String getAttemptId ()

Kembali
String

getCommandTaskId

public String getCommandTaskId ()

Kembali
String

getData

public  getData ()

Kembali

getDeviceSerials

public  getDeviceSerials ()

Kembali

getHostName

public String getHostName ()

Kembali
String

getInvocationStatus

public InvocationStatus getInvocationStatus ()

Kembali
InvocationStatus

getTimestamp

public long getTimestamp ()

Kembali
long

getType

public ClusterCommandEvent.Type getType ()

Kembali
ClusterCommandEvent.Type

toJSON

public JSONObject toJSON ()

Kembali
JSONObject

Melempar
JSONException

toString

public String toString ()

Kembali
String