ClusterHostEvent

public class ClusterHostEvent
extends Object implements IClusterEvent

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


Uma classe para encapsular eventos de host de cluster a serem enviados.

Resumo

Classes aninhadas

class ClusterHostEvent.Builder

 

Constantes

String EVENT_QUEUE

String HOST_IP_KEY

String LABEL_KEY

String TEST_HARNESS_START_TIME_KEY

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()

Constantes

EVENT_QUEUE

public static final String EVENT_QUEUE

Valor da constante: "host-event-queue"

HOST_IP_KEY

public static final String HOST_IP_KEY

Valor da constante: "host_ip"

LABEL_KEY

public static final String LABEL_KEY

Valor da constante: "label"

TEST_HARNESS_START_TIME_KEY

public static final String TEST_HARNESS_START_TIME_KEY

Valor da constante: "test_harness_start_time_ms"

TRADEFED

public static final String TRADEFED

Valor da constante: "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

getNextClusterIds

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