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

공개 생성자

빌더

public Builder ()

공개 메서드

addDeviceInfo

public ClusterHostEvent.Builder addDeviceInfo (ClusterDeviceInfo deviceInfo)

매개변수
deviceInfo ClusterDeviceInfo

반환 값
ClusterHostEvent.Builder

기기 정보 추가

public ClusterHostEvent.Builder addDeviceInfos ( deviceInfos)

매개변수
deviceInfos

반환 값
ClusterHostEvent.Builder

build

public ClusterHostEvent build ()

반환 값
ClusterHostEvent

setClusterId

public ClusterHostEvent.Builder setClusterId (String clusterId)

매개변수
clusterId String

반환 값
ClusterHostEvent.Builder

setData

public ClusterHostEvent.Builder setData ( data)

매개변수
data

반환 값
ClusterHostEvent.Builder

setData

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

매개변수
name String

value String

반환 값
ClusterHostEvent.Builder

setHostEventType

public ClusterHostEvent.Builder setHostEventType (ClusterHostEvent.HostEventType type)

매개변수
type ClusterHostEvent.HostEventType

반환 값
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

setTimestamp

public ClusterHostEvent.Builder setTimestamp (long timestamp)

매개변수
timestamp long

반환 값
ClusterHostEvent.Builder