ClusterCommandEvent.Builder
public static class ClusterCommandEvent.Builder
extends Object
java.lang.object | |
↳ | com.android.tradefed.cluster.ClusterCommandEvent.Builder |
خلاصه
سازندگان عمومی | |
---|---|
Builder () |
روش های عمومی | |
---|---|
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) |
سازندگان عمومی
سازنده
public Builder ()
روش های عمومی
افزودن دستگاه سریال
public ClusterCommandEvent.Builder addDeviceSerial (String deviceSerial)
پارامترها | |
---|---|
deviceSerial | String |
برمی گرداند | |
---|---|
ClusterCommandEvent.Builder |
setAttemptId
public ClusterCommandEvent.Builder setAttemptId (String attemptId)
پارامترها | |
---|---|
attemptId | String |
برمی گرداند | |
---|---|
ClusterCommandEvent.Builder |
setCommandTaskId
public ClusterCommandEvent.Builder setCommandTaskId (String commandTaskId)
پارامترها | |
---|---|
commandTaskId | String |
برمی گرداند | |
---|---|
ClusterCommandEvent.Builder |
setData
public ClusterCommandEvent.Builder setData (String name, Object value)
پارامترها | |
---|---|
name | String |
value | Object |
برمی گرداند | |
---|---|
ClusterCommandEvent.Builder |
setDeviceSerials
public ClusterCommandEvent.Builder setDeviceSerials (deviceSerials)
پارامترها | |
---|---|
deviceSerials |
برمی گرداند | |
---|---|
ClusterCommandEvent.Builder |
setHostName
public ClusterCommandEvent.Builder setHostName (String hostName)
پارامترها | |
---|---|
hostName | String |
برمی گرداند | |
---|---|
ClusterCommandEvent.Builder |
setInvocationStatus
public ClusterCommandEvent.Builder setInvocationStatus (InvocationStatus invocationStatus)
پارامترها | |
---|---|
invocationStatus | InvocationStatus |
برمی گرداند | |
---|---|
ClusterCommandEvent.Builder |
تعیین زمان مهر
public ClusterCommandEvent.Builder setTimestamp (long timestamp)
پارامترها | |
---|---|
timestamp | long |
برمی گرداند | |
---|---|
ClusterCommandEvent.Builder |
setType
public ClusterCommandEvent.Builder setType (ClusterCommandEvent.Type type)
پارامترها | |
---|---|
type | ClusterCommandEvent.Type |
برمی گرداند | |
---|---|
ClusterCommandEvent.Builder |