Evento ClusterHost

public class ClusterHostEvent
extends Object implements IClusterEvent

java.lang.Object
   ↳ com.android.tradefed.cluster.ClusterHostEvent


Uma classe para encapsular eventos do host do cluster que serão enviados por upload.

Resumo

Classes aninhadas

class ClusterHostEvent.Builder

 

enum ClusterHostEvent.HostEventType

Enumerações dos diferentes tipos de eventos de host. 

Campos

public static final String EVENT_QUEUE

public static final String HOST_IP_KEY

public static final String LABEL_KEY

public static final String TEST_HARNESS_START_TIME_KEY

public static final String TRADEFED

Métodos públicos

String getClusterId()
getData()
getDeviceInfos()
String getHostName()
CommandScheduler.HostState getHostState()
String getLabName()
getNextClusterIds()
String getTestHarness()
String getTestHarnessVersion()
String getTfVersion()
long getTimestamp()
ClusterHostEvent.HostEventType getType()
JSONObject toJSON()

Campos

FILA_EVENTO

public static final String EVENT_QUEUE

CHAVE_IP_DO_HOST

public static final String HOST_IP_KEY

RÓTULO_CHAVE

public static final String LABEL_KEY

TEST_HARNESS_START_TIME_KEY

public static final String TEST_HARNESS_START_TIME_KEY

Comercializado

public static final String TRADEFED

Métodos públicos

getClusterId

public String getClusterId ()

Retorna
String

getData

public  getData ()

Retorna

getDeviceInfos

public  getDeviceInfos ()

Retorna

getHostName

public String getHostName ()

Retorna
String

getHostState

public CommandScheduler.HostState getHostState ()

Retorna
CommandScheduler.HostState

getLabName

public String getLabName ()

Retorna
String

onClusterIds

public  getNextClusterIds ()

Retorna

getTestHarness

public String getTestHarness ()

Retorna
String

getTestHarnessVersion

public String getTestHarnessVersion ()

Retorna
String

getTfVersion

public String getTfVersion ()

Retorna
String

getTimestamp

public long getTimestamp ()

Retorna
long

toJSON

public JSONObject toJSON ()

Retorna
JSONObject

Gera
JSONException