ClusterHostEvent.Builder

public static class ClusterHostEvent.Builder
extends Object

java.lang.Object
   ↳ com.android.tradefed.cluster.ClusterHostEvent.Builder


סיכום

‫constructors ציבוריים

Builder()

‫methods ציבוריים

ClusterHostEvent.Builder addDeviceInfo(ClusterDeviceInfo deviceInfo)
ClusterHostEvent.Builder addDeviceInfos(List<ClusterDeviceInfo> deviceInfos)
ClusterHostEvent build()
ClusterHostEvent.Builder setClusterId(String clusterId)
ClusterHostEvent.Builder setData(Map<String, String> 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(List<String> nexClusterIds)
ClusterHostEvent.Builder setTimestamp(long timestamp)

‫constructors ציבוריים

בנאי

public Builder ()

‫methods ציבוריים

addDeviceInfo

public ClusterHostEvent.Builder addDeviceInfo (ClusterDeviceInfo deviceInfo)

פרמטרים
deviceInfo ClusterDeviceInfo

החזרות
ClusterHostEvent.Builder

addDeviceInfos

public ClusterHostEvent.Builder addDeviceInfos (List<ClusterDeviceInfo> deviceInfos)

פרמטרים
deviceInfos List

חזרה לרצף השגרה
ClusterHostEvent.Builder

לבנות גרסת build

public ClusterHostEvent build ()

החזרות
ClusterHostEvent

setClusterId

public ClusterHostEvent.Builder setClusterId (String clusterId)

פרמטרים
clusterId String

החזרות
ClusterHostEvent.Builder

setData

public ClusterHostEvent.Builder setData (Map<String, String> data)

פרמטרים
data Map

החזרות
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 (List<String> nexClusterIds)

פרמטרים
nexClusterIds List

החזרות
ClusterHostEvent.Builder

setTimestamp

public ClusterHostEvent.Builder setTimestamp (long timestamp)

פרמטרים
timestamp long

חזרה לרצף השגרה
ClusterHostEvent.Builder