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(
|
ClusterHostEvent
|
build()
|
ClusterHostEvent.Builder
|
setClusterId(String clusterId)
|
ClusterHostEvent.Builder
|
setData(
|
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(
|
ClusterHostEvent.Builder
|
setTimestamp(long timestamp)
|
पब्लिक कंस्ट्रक्टर
बिल्डर
public Builder ()
सार्वजनिक तरीके
addDeviceInfo
public ClusterHostEvent.Builder addDeviceInfo (ClusterDeviceInfo deviceInfo)
पैरामीटर | |
---|---|
deviceInfo |
ClusterDeviceInfo |
रिटर्न | |
---|---|
ClusterHostEvent.Builder |
addDeviceInfos
public ClusterHostEvent.Builder addDeviceInfos (deviceInfos)
पैरामीटर | |
---|---|
deviceInfos |
|
रिटर्न | |
---|---|
ClusterHostEvent.Builder |
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 |