ClusterHostEvent.Builder

public static class ClusterHostEvent.Builder
extends Object

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


Краткое содержание

Государственные строители

Builder ()

Общедоступные методы

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

Государственные строители

Строитель

public Builder ()

Общедоступные методы

addDeviceInfo

public ClusterHostEvent.Builder addDeviceInfo (ClusterDeviceInfo deviceInfo)

Параметры
deviceInfo ClusterDeviceInfo

Возвраты
ClusterHostEvent.Builder

addDeviceInfos

public ClusterHostEvent.Builder addDeviceInfos (List<ClusterDeviceInfo> deviceInfos)

Параметры
deviceInfos List

Возвраты
ClusterHostEvent.Builder

строить

public ClusterHostEvent build ()

Возвраты
ClusterHostEvent

setClusterId

public ClusterHostEvent.Builder setClusterId (String clusterId)

Параметры
clusterId String

Возвраты
ClusterHostEvent.Builder

setData

public ClusterHostEvent.Builder setData (Map<String, String> data)

Параметры
data Map

Возвраты
ClusterHostEvent.Builder

setData

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

Параметры
name String

value String

Возвраты
ClusterHostEvent.Builder

setHostEventType

public ClusterHostEvent.Builder setHostEventType (ClusterHostEvent.HostEventType type)

Параметры
type ClusterHostEvent.HostEventType

Возвраты
ClusterHostEvent.Builder

setHostState

public ClusterHostEvent.Builder setHostState (CommandScheduler.HostState state)

Параметры
state CommandScheduler.HostState

Возвраты
ClusterHostEvent.Builder

setLabName

public ClusterHostEvent.Builder setLabName (String labName)

Параметры
labName String

Возвраты
ClusterHostEvent.Builder

setNextClusterIds

public ClusterHostEvent.Builder setNextClusterIds (List<String> nexClusterIds)

Параметры
nexClusterIds List

Возвраты
ClusterHostEvent.Builder

setTimestamp

public ClusterHostEvent.Builder setTimestamp (long timestamp)

Параметры
timestamp long

Возвраты
ClusterHostEvent.Builder