Google is committed to advancing racial equity for Black communities. See how.
本頁面由 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