ClusterCommandEvent.Builder

public static class ClusterCommandEvent.Builder
extends Object

java.lang.Object 中
   ↳ com.android.tradefed.cluster.ClusterCommandEvent.Builder


摘要

公共构造函数

Builder()

公共构造函数

Builder

public Builder ()

公共方法

addDeviceSerial

public ClusterCommandEvent.Builder addDeviceSerial (String deviceSerial)

参数
deviceSerial String

build

public ClusterCommandEvent build ()

setAttemptId

public ClusterCommandEvent.Builder setAttemptId (String attemptId)

参数
attemptId String

setCommandTaskId

public ClusterCommandEvent.Builder setCommandTaskId (String commandTaskId)

参数
commandTaskId String

setData

public ClusterCommandEvent.Builder setData (String name, 
                Object value)

参数
name String

value Object

setDeviceSerials

public ClusterCommandEvent.Builder setDeviceSerials ( deviceSerials)

参数
deviceSerials

setHostName

public ClusterCommandEvent.Builder setHostName (String hostName)

参数
hostName String

setInvocationStatus

public ClusterCommandEvent.Builder setInvocationStatus (InvocationStatus invocationStatus)

参数
invocationStatus InvocationStatus

setTimestamp

public ClusterCommandEvent.Builder setTimestamp (long timestamp)

参数
timestamp long

setType

public ClusterCommandEvent.Builder setType (ClusterCommandEvent.Type type)

参数
type ClusterCommandEvent.Type