ClusterHostEvent.Builder
public
static
class
ClusterHostEvent.Builder
extends Object
java.lang.Object | |
🎞 | com.android.tradefed.cluster.ClusterHostEvent.Builder |
Riepilogo
Costruttori pubblici | |
---|---|
Builder()
|
Metodi pubblici | |
---|---|
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)
|
Costruttori pubblici
Costruttore
public Builder ()
Metodi pubblici
addDeviceInfo
public ClusterHostEvent.Builder addDeviceInfo (ClusterDeviceInfo deviceInfo)
Parametri | |
---|---|
deviceInfo |
ClusterDeviceInfo |
Ritorni | |
---|---|
ClusterHostEvent.Builder |
addDeviceInfos
public ClusterHostEvent.Builder addDeviceInfos (deviceInfos)
Parametri | |
---|---|
deviceInfos |
|
Ritorni | |
---|---|
ClusterHostEvent.Builder |
setClusterId
public ClusterHostEvent.Builder setClusterId (String clusterId)
Parametri | |
---|---|
clusterId |
String |
Ritorni | |
---|---|
ClusterHostEvent.Builder |
setData
public ClusterHostEvent.Builder setData (data)
Parametri | |
---|---|
data |
|
Ritorni | |
---|---|
ClusterHostEvent.Builder |
setData
public ClusterHostEvent.Builder setData (String name, String value)
Parametri | |
---|---|
name |
String |
value |
String |
Ritorni | |
---|---|
ClusterHostEvent.Builder |
setHostEventType
public ClusterHostEvent.Builder setHostEventType (ClusterHostEvent.HostEventType type)
Parametri | |
---|---|
type |
ClusterHostEvent.HostEventType |
Ritorni | |
---|---|
ClusterHostEvent.Builder |
setHostState
public ClusterHostEvent.Builder setHostState (CommandScheduler.HostState state)
Parametri | |
---|---|
state |
CommandScheduler.HostState |
Ritorni | |
---|---|
ClusterHostEvent.Builder |
setLabName
public ClusterHostEvent.Builder setLabName (String labName)
Parametri | |
---|---|
labName |
String |
Ritorni | |
---|---|
ClusterHostEvent.Builder |
setNextClusterIds
public ClusterHostEvent.Builder setNextClusterIds (nexClusterIds)
Parametri | |
---|---|
nexClusterIds |
|
Ritorni | |
---|---|
ClusterHostEvent.Builder |
setTimestamp
public ClusterHostEvent.Builder setTimestamp (long timestamp)
Parametri | |
---|---|
timestamp |
long |
Ritorni | |
---|---|
ClusterHostEvent.Builder |