ClusterHostEvent.Builder
public static class ClusterHostEvent.Builder
extends Object
java.lang.Objeto | |
↳ | com.android.tradefed.cluster.ClusterHostEvent.Builder |
Resumen
Constructores públicos | |
---|---|
Builder () |
Métodos públicos | |
---|---|
ClusterHostEvent.Builder | addDeviceInfo ( ClusterDeviceInfo deviceInfo) |
ClusterHostEvent.Builder | addDeviceInfos ( deviceInfos) addDeviceInfos ( deviceInfos) |
ClusterHostEvent | build () |
ClusterHostEvent.Builder | setClusterId (String clusterId) |
ClusterHostEvent.Builder | setData ( data) setData ( data) |
ClusterHostEvent.Builder | setData (String name, String value) |
ClusterHostEvent.Builder | setHostEventType ( ClusterHostEvent.HostEventType type) |
ClusterHostEvent.Builder | setHostState ( CommandScheduler.HostState state) |
ClusterHostEvent.Builder | setLabName (String labName) |
ClusterHostEvent.Builder | setNextClusterIds ( nexClusterIds) setNextClusterIds ( nexClusterIds) |
ClusterHostEvent.Builder | setTimestamp (long timestamp) |
Constructores públicos
Constructor
public Builder ()
Métodos públicos
agregar información del dispositivo
public ClusterHostEvent.Builder addDeviceInfo (ClusterDeviceInfo deviceInfo)
Parámetros | |
---|---|
deviceInfo | ClusterDeviceInfo |
Devoluciones | |
---|---|
ClusterHostEvent.Builder |
agregar información del dispositivo
public ClusterHostEvent.Builder addDeviceInfos (deviceInfos)
Parámetros | |
---|---|
deviceInfos |
Devoluciones | |
---|---|
ClusterHostEvent.Builder |
establecerIdClúster
public ClusterHostEvent.Builder setClusterId (String clusterId)
Parámetros | |
---|---|
clusterId | String |
Devoluciones | |
---|---|
ClusterHostEvent.Builder |
establecer datos
public ClusterHostEvent.Builder setData (data)
Parámetros | |
---|---|
data |
Devoluciones | |
---|---|
ClusterHostEvent.Builder |
establecer datos
public ClusterHostEvent.Builder setData (String name, String value)
Parámetros | |
---|---|
name | String |
value | String |
Devoluciones | |
---|---|
ClusterHostEvent.Builder |
setHostEventType
public ClusterHostEvent.Builder setHostEventType (ClusterHostEvent.HostEventType type)
Parámetros | |
---|---|
type | ClusterHostEvent.HostEventType |
Devoluciones | |
---|---|
ClusterHostEvent.Builder |
establecerHostState
public ClusterHostEvent.Builder setHostState (CommandScheduler.HostState state)
Parámetros | |
---|---|
state | CommandScheduler.HostState |
Devoluciones | |
---|---|
ClusterHostEvent.Builder |
establecerNombreLaboratorio
public ClusterHostEvent.Builder setLabName (String labName)
Parámetros | |
---|---|
labName | String |
Devoluciones | |
---|---|
ClusterHostEvent.Builder |
establecerNextClusterIds
public ClusterHostEvent.Builder setNextClusterIds (nexClusterIds)
Parámetros | |
---|---|
nexClusterIds |
Devoluciones | |
---|---|
ClusterHostEvent.Builder |
establecer marca de tiempo
public ClusterHostEvent.Builder setTimestamp (long timestamp)
Parámetros | |
---|---|
timestamp | long |
Devoluciones | |
---|---|
ClusterHostEvent.Builder |