Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.
Se usó la API de Cloud Translation para traducir esta página.
Switch to English

ClusterCommandEvent

public class ClusterCommandEvent
extends Object implements IClusterEvent

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


Una clase para encapsular los eventos de comando del clúster que se cargarán.

Resumen

Clases anidadas

class ClusterCommandEvent.Builder

enum ClusterCommandEvent.Type

Constantes

int MAX_DATA_STRING_SIZE

Campos

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

Métodos públicos

static ClusterCommandEvent.Builder createEventBuilder ()

Crea un Builder base.

static ClusterCommandEvent.Builder createEventBuilder ( ClusterCommand command)

Crea una base de Builder para la dada ClusterCommand .

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

String toString ()

Constantes

MAX_DATA_STRING_SIZE

public static final int MAX_DATA_STRING_SIZE

Valor constante: 4095 (0x00000fff)

Campos

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

Métodos públicos

createEventBuilder

public static ClusterCommandEvent.Builder createEventBuilder ()

Crea un Builder base.

Devoluciones
ClusterCommandEvent.Builder un Builder .

createEventBuilder

public static ClusterCommandEvent.Builder createEventBuilder (ClusterCommand command)

Crea una base de Builder para la dada ClusterCommand .

Parámetros
command ClusterCommand

Devoluciones
ClusterCommandEvent.Builder un Builder .

getAttemptId

public String getAttemptId ()

Devoluciones
String

getCommandTaskId

public String getCommandTaskId ()

Devoluciones
String

obtener datos

public  getData ()

Devoluciones

getDeviceSerials

public  getDeviceSerials ()

Devoluciones

getHostName

public String getHostName ()

Devoluciones
String

getInvocationStatus

public InvocationStatus getInvocationStatus ()

Devoluciones
InvocationStatus

getTimestamp

public long getTimestamp ()

Devoluciones
long

getType

public ClusterCommandEvent.Type getType ()

Devoluciones
ClusterCommandEvent.Type

toJSON

public JSONObject toJSON ()

Devoluciones
JSONObject

Lanza
JSONException

Encadenar

public String toString ()

Devoluciones
String