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 ( data) 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) setNextClusterIds ( nexClusterIds)
ClusterHostEvent.Builder setTimestamp (long timestamp)

공개 생성자

빌더

public Builder ()

공개 메서드

추가 장치 정보

public ClusterHostEvent.Builder addDeviceInfo (ClusterDeviceInfo deviceInfo)

매개변수
deviceInfo ClusterDeviceInfo

보고
ClusterHostEvent.Builder

추가 장치 정보

public ClusterHostEvent.Builder addDeviceInfos ( deviceInfos)

매개변수
deviceInfos

보고
ClusterHostEvent.Builder

짓다

public ClusterHostEvent build ()

보고
ClusterHostEvent

setClusterId

public ClusterHostEvent.Builder setClusterId (String clusterId)

매개변수
clusterId String

보고
ClusterHostEvent.Builder

세트데이터

public ClusterHostEvent.Builder setData ( data)

매개변수
data

보고
ClusterHostEvent.Builder

세트 데이터

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

매개변수
name String

value String

보고
ClusterHostEvent.Builder

세트 호스트 이벤트 유형

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