ClusterCommandEvent.Builder

public static class ClusterCommandEvent.Builder
extends Object

java.lang.Объект
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 ()

Публичные методы

добавитьDeviceSerial

public ClusterCommandEvent.Builder addDeviceSerial (String deviceSerial)

Параметры
deviceSerial String

Возврат
ClusterCommandEvent.Builder

строить

public ClusterCommandEvent build ()

Возврат
ClusterCommandEvent

setAttempId

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

setInvoctionStatus

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