ClusterHostEvent.Builder

public static class ClusterHostEvent.Builder
extends Object

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


Resumen

Constructores públicos

Builder()

Métodos públicos

ClusterHostEvent.Builder addDeviceInfo(ClusterDeviceInfo deviceInfo)
ClusterHostEvent.Builder addDeviceInfos( deviceInfos)
ClusterHostEvent build()
ClusterHostEvent.Builder setClusterId(String clusterId)
ClusterHostEvent.Builder 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)
ClusterHostEvent.Builder setTimestamp(long timestamp)

Constructores públicos

Builder

public Builder ()

Métodos públicos

AgregarInformacióndeldispositivo

public ClusterHostEvent.Builder addDeviceInfo (ClusterDeviceInfo deviceInfo)

Parámetros
deviceInfo ClusterDeviceInfo

Muestra
ClusterHostEvent.Builder

AgregarInformacióndeldispositivo

public ClusterHostEvent.Builder addDeviceInfos ( deviceInfos)

Parámetros
deviceInfos

Muestra
ClusterHostEvent.Builder

build

public ClusterHostEvent build ()

Muestra
ClusterHostEvent

setClusterId

public ClusterHostEvent.Builder setClusterId (String clusterId)

Parámetros
clusterId String

Muestra
ClusterHostEvent.Builder

setData

public ClusterHostEvent.Builder setData ( data)

Parámetros
data

Muestra
ClusterHostEvent.Builder

setData

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

Parámetros
name String

value String

Muestra
ClusterHostEvent.Builder

setHostEventType

public ClusterHostEvent.Builder setHostEventType (ClusterHostEvent.HostEventType type)

Parámetros
type ClusterHostEvent.HostEventType

Muestra
ClusterHostEvent.Builder

setHostState

public ClusterHostEvent.Builder setHostState (CommandScheduler.HostState state)

Parámetros
state CommandScheduler.HostState

Muestra
ClusterHostEvent.Builder

SetLabName

public ClusterHostEvent.Builder setLabName (String labName)

Parámetros
labName String

Muestra
ClusterHostEvent.Builder

setNextClusterIds

public ClusterHostEvent.Builder setNextClusterIds ( nexClusterIds)

Parámetros
nexClusterIds

Muestra
ClusterHostEvent.Builder

setTimestamp

public ClusterHostEvent.Builder setTimestamp (long timestamp)

Parámetros
timestamp long

Devuelve
ClusterHostEvent.Builder