ClusterHostEvent
public class ClusterHostEvent
extends Object
implements IClusterEvent
java.lang.Objeto | |
↳ | com.android.tradefed.cluster.ClusterHostEvent |
Una clase para encapsular los eventos del host del clúster que se van a cargar.
Resumen
Clases anidadas | |
---|---|
class | ClusterHostEvent.Builder
|
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
EVENTO_QUEUE
public static final String EVENT_QUEUE
HOST_IP_CLAVE
public static final String HOST_IP_KEY
ETIQUETA_CLAVE
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 ()
Devoluciones | |
---|---|
String |
obtener datos
publicgetData ()
Devoluciones | |
---|---|
getDeviceInfos
publicgetDeviceInfos ()
Devoluciones | |
---|---|
getHostName
public String getHostName ()
Devoluciones | |
---|---|
String |
getHostState
public CommandScheduler.HostState getHostState ()
Devoluciones | |
---|---|
CommandScheduler.HostState |
getLabName
public String getLabName ()
Devoluciones | |
---|---|
String |
obtenerNextClusterIds
publicgetNextClusterIds ()
Devoluciones | |
---|---|
getTestHarness
public String getTestHarness ()
Devoluciones | |
---|---|
String |
getTestHarnessVersion
public String getTestHarnessVersion ()
Devoluciones | |
---|---|
String |
getTfVersion
public String getTfVersion ()
Devoluciones | |
---|---|
String |
getTimestamp
public long getTimestamp ()
Devoluciones | |
---|---|
long |
obtenerTipo
public ClusterHostEvent.HostEventType getType ()
Devoluciones | |
---|---|
ClusterHostEvent.HostEventType |
aJSON
public JSONObject toJSON ()
Devoluciones | |
---|---|
JSONObject |
Lanza | |
---|---|
JSONException |
El contenido y las muestras de código que aparecen en esta página están sujetas a las licencias que se describen en la Licencia de Contenido. Java y OpenJDK son marcas registradas de Oracle o sus afiliados.
Última actualización: 2023-03-30 (UTC)
[]
[]