ClusterHostEvent.Builder
public
static
class
ClusterHostEvent.Builder
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.cluster.ClusterHostEvent.Builder |
Resumo
Construtores públicos | |
|---|---|
Builder()
|
|
Métodos públicos | |
|---|---|
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)
|
Construtores públicos
Builder
public Builder ()
Métodos públicos
addDeviceInfo
public ClusterHostEvent.Builder addDeviceInfo (ClusterDeviceInfo deviceInfo)
| Parâmetros | |
|---|---|
deviceInfo |
ClusterDeviceInfo |
| Retorna | |
|---|---|
ClusterHostEvent.Builder |
|
addDeviceInfos
public ClusterHostEvent.Builder addDeviceInfos (deviceInfos)
| Parâmetros | |
|---|---|
deviceInfos |
|
| Retorna | |
|---|---|
ClusterHostEvent.Builder |
|
setClusterId
public ClusterHostEvent.Builder setClusterId (String clusterId)
| Parâmetros | |
|---|---|
clusterId |
String |
| Retorna | |
|---|---|
ClusterHostEvent.Builder |
|
setData
public ClusterHostEvent.Builder setData (data)
| Parâmetros | |
|---|---|
data |
|
| Retorna | |
|---|---|
ClusterHostEvent.Builder |
|
setData
public ClusterHostEvent.Builder setData (String name, String value)
| Parâmetros | |
|---|---|
name |
String |
value |
String |
| Retorna | |
|---|---|
ClusterHostEvent.Builder |
|
setHostEventType
public ClusterHostEvent.Builder setHostEventType (ClusterHostEvent.HostEventType type)
| Parâmetros | |
|---|---|
type |
ClusterHostEvent.HostEventType |
| Retorna | |
|---|---|
ClusterHostEvent.Builder |
|
setHostState
public ClusterHostEvent.Builder setHostState (CommandScheduler.HostState state)
| Parâmetros | |
|---|---|
state |
CommandScheduler.HostState |
| Retorna | |
|---|---|
ClusterHostEvent.Builder |
|
setLabName
public ClusterHostEvent.Builder setLabName (String labName)
| Parâmetros | |
|---|---|
labName |
String |
| Retorna | |
|---|---|
ClusterHostEvent.Builder |
|
setNextClusterIds
public ClusterHostEvent.Builder setNextClusterIds (nexClusterIds)
| Parâmetros | |
|---|---|
nexClusterIds |
|
| Retorna | |
|---|---|
ClusterHostEvent.Builder |
|
setTimestamp
public ClusterHostEvent.Builder setTimestamp (long timestamp)
| Parâmetros | |
|---|---|
timestamp |
long |
| Retorna | |
|---|---|
ClusterHostEvent.Builder |
|