Google 致力于为黑人社区推动种族平等。查看具体举措
此页面由 Cloud Translation API 翻译。
Switch to English

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 ()

公开方法

addDeviceSerial

public ClusterCommandEvent.Builder addDeviceSerial (String deviceSerial)

参量
deviceSerial String

退货
ClusterCommandEvent.Builder

建立

public ClusterCommandEvent build ()

退货
ClusterCommandEvent

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

setTimestamp

public ClusterCommandEvent.Builder setTimestamp (long timestamp)

参量
timestamp long

退货
ClusterCommandEvent.Builder

setType

public ClusterCommandEvent.Builder setType (ClusterCommandEvent.Type type)

参量
type ClusterCommandEvent.Type

退货
ClusterCommandEvent.Builder