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

addDeviceInfos

public ClusterHostEvent.Builder addDeviceInfos ( deviceInfos)

パラメータ
deviceInfos

build

public ClusterHostEvent build ()

戻り値
ClusterHostEvent

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

setNextClusterIds

public ClusterHostEvent.Builder setNextClusterIds ( nexClusterIds)

パラメータ
nexClusterIds

setTimestamp

public ClusterHostEvent.Builder setTimestamp (long timestamp)

パラメータ
timestamp long