ClusterHostEvent.Builder

public static class ClusterHostEvent.Builder
extends Object

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


Resumo

Construtores 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)

Construtores públicos

Construtor

public Builder ()

Métodos públicos

addDeviceInfo

public ClusterHostEvent.Builder addDeviceInfo (ClusterDeviceInfo deviceInfo)

Parâmetros
deviceInfo ClusterDeviceInfo

Devoluções
ClusterHostEvent.Builder

addDeviceInfos

public ClusterHostEvent.Builder addDeviceInfos ( deviceInfos)

Parâmetros
deviceInfos

Devoluções
ClusterHostEvent.Builder

construir

public ClusterHostEvent build ()

Devoluções
ClusterHostEvent

setClusterId

public ClusterHostEvent.Builder setClusterId (String clusterId)

Parâmetros
clusterId String

Devoluções
ClusterHostEvent.Builder

definir dados

public ClusterHostEvent.Builder setData ( data)

Parâmetros
data

Devoluções
ClusterHostEvent.Builder

definir dados

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

Parâmetros
name String

value String

Devoluções
ClusterHostEvent.Builder

setHostEventType

public ClusterHostEvent.Builder setHostEventType (ClusterHostEvent.HostEventType type)

Parâmetros
type ClusterHostEvent.HostEventType

Devoluções
ClusterHostEvent.Builder

setHostState

public ClusterHostEvent.Builder setHostState (CommandScheduler.HostState state)

Parâmetros
state CommandScheduler.HostState

Devoluções
ClusterHostEvent.Builder

setLabName

public ClusterHostEvent.Builder setLabName (String labName)

Parâmetros
labName String

Devoluções
ClusterHostEvent.Builder

setNextClusterIds

public ClusterHostEvent.Builder setNextClusterIds ( nexClusterIds)

Parâmetros
nexClusterIds

Devoluções
ClusterHostEvent.Builder

definirTimestamp

public ClusterHostEvent.Builder setTimestamp (long timestamp)

Parâmetros
timestamp long

Devoluções
ClusterHostEvent.Builder