Evento de host del clúster
public
class
ClusterHostEvent
extends Object
implements
IClusterEvent
Objeto java.lang. | |
↳ | com.android.tradefed.cluster.ClusterHostEvent |
Una clase para encapsular los eventos de host del clúster que se subirán.
Resumen
Clases anidadas | |
---|---|
class |
ClusterHostEvent.Builder
|
enum |
ClusterHostEvent.HostEventType
Enumeraciones de los 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
EVENT_QUEUE
public static final String EVENT_QUEUE
CLAVE_IP_HOST_
public static final String HOST_IP_KEY
CLAVE_DE_ETIQUETA
public static final String LABEL_KEY
PRUEBA_HARNESS_START_TIME_KEY
public static final String TEST_HARNESS_START_TIME_KEY
TRADUCIDO
public static final String TRADEFED
Métodos públicos
ID getCluster
public String getClusterId ()
Muestra | |
---|---|
String |
getData
publicgetData ()
Muestra | |
---|---|
|
getDeviceInfos
publicgetDeviceInfos ()
Muestra | |
---|---|
|
getHostName
public String getHostName ()
Muestra | |
---|---|
String |
estado del host
public CommandScheduler.HostState getHostState ()
Muestra | |
---|---|
CommandScheduler.HostState |
nombre del lab
public String getLabName ()
Muestra | |
---|---|
String |
getNextClusterIds
publicgetNextClusterIds ()
Muestra | |
---|---|
|
getTestHarness
public String getTestHarness ()
Muestra | |
---|---|
String |
getTestHarnessVersion
public String getTestHarnessVersion ()
Muestra | |
---|---|
String |
getTfVersion
public String getTfVersion ()
Muestra | |
---|---|
String |
getTimestamp
public long getTimestamp ()
Muestra | |
---|---|
long |
toJSON
public JSONObject toJSON ()
Muestra | |
---|---|
JSONObject |
Arroja | |
---|---|
JSONException |