Google is committed to advancing racial equity for Black communities. See how.
本頁面由 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