ClusterCommandEvent.Builder
public static class ClusterCommandEvent.Builder
extends Object
java.lang.Object | |
↳ | com.android.tradefed.cluster.ClusterCommandEvent.Builder |
Resumo
Construtores públicos | |
---|---|
Builder () |
Métodos públicos | |
---|---|
ClusterCommandEvent.Builder | addDeviceSerial (String deviceSerial) |
ClusterCommandEvent | build () |
ClusterCommandEvent.Builder | setAttemptId (String attemptId) |
ClusterCommandEvent.Builder | setCommandTaskId (String commandTaskId) |
ClusterCommandEvent.Builder | setData (String name, Object value) |
ClusterCommandEvent.Builder | setDeviceSerials ( deviceSerials) setDeviceSerials ( deviceSerials) |
ClusterCommandEvent.Builder | setHostName (String hostName) |
ClusterCommandEvent.Builder | setInvocationStatus ( InvocationStatus invocationStatus) |
ClusterCommandEvent.Builder | setTimestamp (long timestamp) |
ClusterCommandEvent.Builder | setType ( ClusterCommandEvent.Type type) |
Construtores públicos
Construtor
public Builder ()
Métodos públicos
addDeviceSerial
public ClusterCommandEvent.Builder addDeviceSerial (String deviceSerial)
Parâmetros | |
---|---|
deviceSerial | String |
Devoluções | |
---|---|
ClusterCommandEvent.Builder |
setAttemptId
public ClusterCommandEvent.Builder setAttemptId (String attemptId)
Parâmetros | |
---|---|
attemptId | String |
Devoluções | |
---|---|
ClusterCommandEvent.Builder |
setCommandTaskId
public ClusterCommandEvent.Builder setCommandTaskId (String commandTaskId)
Parâmetros | |
---|---|
commandTaskId | String |
Devoluções | |
---|---|
ClusterCommandEvent.Builder |
definir dados
public ClusterCommandEvent.Builder setData (String name, Object value)
Parâmetros | |
---|---|
name | String |
value | Object |
Devoluções | |
---|---|
ClusterCommandEvent.Builder |
setDeviceSerials
public ClusterCommandEvent.Builder setDeviceSerials (deviceSerials)
Parâmetros | |
---|---|
deviceSerials |
Devoluções | |
---|---|
ClusterCommandEvent.Builder |
setHostName
public ClusterCommandEvent.Builder setHostName (String hostName)
Parâmetros | |
---|---|
hostName | String |
Devoluções | |
---|---|
ClusterCommandEvent.Builder |
setInvocationStatus
public ClusterCommandEvent.Builder setInvocationStatus (InvocationStatus invocationStatus)
Parâmetros | |
---|---|
invocationStatus | InvocationStatus |
Devoluções | |
---|---|
ClusterCommandEvent.Builder |
definirTimestamp
public ClusterCommandEvent.Builder setTimestamp (long timestamp)
Parâmetros | |
---|---|
timestamp | long |
Devoluções | |
---|---|
ClusterCommandEvent.Builder |
setType
public ClusterCommandEvent.Builder setType (ClusterCommandEvent.Type type)
Parâmetros | |
---|---|
type | ClusterCommandEvent.Type |
Devoluções | |
---|---|
ClusterCommandEvent.Builder |