ClusterHostEvent.Builder

public static class ClusterHostEvent.Builder
extends Object

java.lang.Objeto
com.android.tradefed.cluster.ClusterHostEvent.Builder


Resumen

Constructores públicos

Builder ()

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

agregar información del dispositivo

public ClusterHostEvent.Builder addDeviceInfos ( deviceInfos)

Parámetros
deviceInfos

construir

public ClusterHostEvent build ()

Devoluciones
ClusterHostEvent

establecerIdClúster

public ClusterHostEvent.Builder setClusterId (String clusterId)

Parámetros
clusterId String

establecer datos

public ClusterHostEvent.Builder setData ( data)

Parámetros
data

establecer datos

public ClusterHostEvent.Builder setData (String name, 
                String value)

Parámetros
name String

value String

setHostEventType

public ClusterHostEvent.Builder setHostEventType (ClusterHostEvent.HostEventType type)

Parámetros
type ClusterHostEvent.HostEventType

establecerHostState

public ClusterHostEvent.Builder setHostState (CommandScheduler.HostState state)

Parámetros
state CommandScheduler.HostState

establecerNombreLaboratorio

public ClusterHostEvent.Builder setLabName (String labName)

Parámetros
labName String

establecerNextClusterIds

public ClusterHostEvent.Builder setNextClusterIds ( nexClusterIds)

Parámetros
nexClusterIds

establecer marca de tiempo

public ClusterHostEvent.Builder setTimestamp (long timestamp)

Parámetros
timestamp long