ClusterHostEvent.Builder

public static class ClusterHostEvent.Builder
extends Object

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


摘要

公共构造函数

Builder()

公共构造函数

Builder

public Builder ()

公共方法

addDeviceInfo

public ClusterHostEvent.Builder addDeviceInfo (ClusterDeviceInfo deviceInfo)

参数
deviceInfo ClusterDeviceInfo

addDeviceInfo

public ClusterHostEvent.Builder addDeviceInfos ( deviceInfos)

参数
deviceInfos

build

public ClusterHostEvent build ()

setClusterId

public ClusterHostEvent.Builder setClusterId (String clusterId)

参数
clusterId String

setData

public ClusterHostEvent.Builder setData ( data)

参数
data

setData

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

参数
name String

value String

setHostEventType

public ClusterHostEvent.Builder setHostEventType (ClusterHostEvent.HostEventType type)

参数
type ClusterHostEvent.HostEventType

setHostState

public ClusterHostEvent.Builder setHostState (CommandScheduler.HostState state)

参数
state CommandScheduler.HostState

设置实验名称

public ClusterHostEvent.Builder setLabName (String labName)

参数
labName String

setNextClusterIds

public ClusterHostEvent.Builder setNextClusterIds ( nexClusterIds)

参数
nexClusterIds

setTimestamp

public ClusterHostEvent.Builder setTimestamp (long timestamp)

参数
timestamp long