Google 致力于为黑人社区推动种族平等。查看具体举措
此页面由 Cloud Translation API 翻译。
Switch to English

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 ( deviceInfos) addDeviceInfos ( deviceInfos)
ClusterHostEvent build ()
ClusterHostEvent.Builder setClusterId (String clusterId)
ClusterHostEvent.Builder setData (String name, String value)
ClusterHostEvent.Builder setData ( data) setData ( data)
ClusterHostEvent.Builder setHostEventType ( ClusterHostEvent.HostEventType type)
ClusterHostEvent.Builder setHostName (String hostname)
ClusterHostEvent.Builder setHostState ( CommandScheduler.HostState state)
ClusterHostEvent.Builder setLabName (String labName)
ClusterHostEvent.Builder setNextClusterIds ( nexClusterIds) setNextClusterIds ( nexClusterIds)
ClusterHostEvent.Builder setTfVersion (String tfVersion)
ClusterHostEvent.Builder setTimestamp (long timestamp)

公共建设者

建造者

public Builder ()

公开方法

addDeviceInfo

public ClusterHostEvent.Builder addDeviceInfo (ClusterDeviceInfo deviceInfo)

参量
deviceInfo ClusterDeviceInfo

退货
ClusterHostEvent.Builder

addDeviceInfos

public ClusterHostEvent.Builder addDeviceInfos ( deviceInfos)

参量
deviceInfos

退货
ClusterHostEvent.Builder

建立

public ClusterHostEvent build ()

退货
ClusterHostEvent

setClusterId

public ClusterHostEvent.Builder setClusterId (String clusterId)

参量
clusterId String

退货
ClusterHostEvent.Builder

setData

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

参量
name String

value String

退货
ClusterHostEvent.Builder

setData

public ClusterHostEvent.Builder setData ( data)

参量
data

退货
ClusterHostEvent.Builder

setHostEventType

public ClusterHostEvent.Builder setHostEventType (ClusterHostEvent.HostEventType type)

参量
type ClusterHostEvent.HostEventType

退货
ClusterHostEvent.Builder

setHostName

第037章

参量
hostname String

退货
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 ( nexClusterIds)

参量
nexClusterIds

退货
ClusterHostEvent.Builder

setTfVersion

public ClusterHostEvent.Builder setTfVersion (String tfVersion)

参量
tfVersion String

退货
ClusterHostEvent.Builder

setTimestamp

public ClusterHostEvent.Builder setTimestamp (long timestamp)

参量
timestamp long

退货
ClusterHostEvent.Builder