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

setLabName

public ClusterHostEvent.Builder setLabName (String labName)

參數
labName String

setNextClusterId

public ClusterHostEvent.Builder setNextClusterIds ( nexClusterIds)

參數
nexClusterIds

設定時間戳記

public ClusterHostEvent.Builder setTimestamp (long timestamp)

參數
timestamp long