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)
ClusterCommandEvent.Builder setHostName(String hostName)
ClusterCommandEvent.Builder setInvocationStatus(InvocationStatus invocationStatus)
ClusterCommandEvent.Builder setTimestamp(long timestamp)
ClusterCommandEvent.Builder setType(ClusterCommandEvent.Type type)

公共构造函数

Builder

public Builder ()

公共方法

addDeviceSerial

public ClusterCommandEvent.Builder addDeviceSerial (String deviceSerial)

参数
deviceSerial String

返回
ClusterCommandEvent.Builder

build

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