ClusterHostEvent.Builder
public
static
class
ClusterHostEvent.Builder
extends Object
java.lang.Object | |
↳ | com.android.tradefed.cluster.ClusterHostEvent.Builder |
Ringkasan
Konstruktor publik | |
---|---|
Builder()
|
Metode publik | |
---|---|
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)
|
Konstruktor publik
Builder
public Builder ()
Metode publik
addDeviceInfo
public ClusterHostEvent.Builder addDeviceInfo (ClusterDeviceInfo deviceInfo)
Parameter | |
---|---|
deviceInfo |
ClusterDeviceInfo |
Hasil | |
---|---|
ClusterHostEvent.Builder |
addDeviceInfos
public ClusterHostEvent.Builder addDeviceInfos (deviceInfos)
Parameter | |
---|---|
deviceInfos |
|
Hasil | |
---|---|
ClusterHostEvent.Builder |
setClusterId
public ClusterHostEvent.Builder setClusterId (String clusterId)
Parameter | |
---|---|
clusterId |
String |
Hasil | |
---|---|
ClusterHostEvent.Builder |
setData
public ClusterHostEvent.Builder setData (data)
Parameter | |
---|---|
data |
|
Hasil | |
---|---|
ClusterHostEvent.Builder |
setData
public ClusterHostEvent.Builder setData (String name, String value)
Parameter | |
---|---|
name |
String |
value |
String |
Hasil | |
---|---|
ClusterHostEvent.Builder |
setHostEventType
public ClusterHostEvent.Builder setHostEventType (ClusterHostEvent.HostEventType type)
Parameter | |
---|---|
type |
ClusterHostEvent.HostEventType |
Hasil | |
---|---|
ClusterHostEvent.Builder |
setHostState
public ClusterHostEvent.Builder setHostState (CommandScheduler.HostState state)
Parameter | |
---|---|
state |
CommandScheduler.HostState |
Hasil | |
---|---|
ClusterHostEvent.Builder |
{i>setLabName<i}
public ClusterHostEvent.Builder setLabName (String labName)
Parameter | |
---|---|
labName |
String |
Hasil | |
---|---|
ClusterHostEvent.Builder |
setNextClusterId
public ClusterHostEvent.Builder setNextClusterIds (nexClusterIds)
Parameter | |
---|---|
nexClusterIds |
|
Hasil | |
---|---|
ClusterHostEvent.Builder |
setStempel waktu
public ClusterHostEvent.Builder setTimestamp (long timestamp)
Parameter | |
---|---|
timestamp |
long |
Hasil | |
---|---|
ClusterHostEvent.Builder |