ClusterCommandEvent.Builder

public static class ClusterCommandEvent.Builder
extends Object

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


Resumo

Construtores públicos

Builder()

Métodos públicos

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)

Construtores públicos

Builder

public Builder ()

Métodos públicos

addDeviceSerial

public ClusterCommandEvent.Builder addDeviceSerial (String deviceSerial)

Parâmetros
deviceSerial String

Retorna
ClusterCommandEvent.Builder

build

public ClusterCommandEvent build ()

Retorna
ClusterCommandEvent

setAttemptId

public ClusterCommandEvent.Builder setAttemptId (String attemptId)

Parâmetros
attemptId String

Retorna
ClusterCommandEvent.Builder

setCommandTaskId

public ClusterCommandEvent.Builder setCommandTaskId (String commandTaskId)

Parâmetros
commandTaskId String

Retorna
ClusterCommandEvent.Builder

setData

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

Parâmetros
name String

value Object

Retorna
ClusterCommandEvent.Builder

setDeviceSerials

public ClusterCommandEvent.Builder setDeviceSerials ( deviceSerials)

Parâmetros
deviceSerials

Retorna
ClusterCommandEvent.Builder

setHostName

public ClusterCommandEvent.Builder setHostName (String hostName)

Parâmetros
hostName String

Retorna
ClusterCommandEvent.Builder

setInvocationStatus

public ClusterCommandEvent.Builder setInvocationStatus (InvocationStatus invocationStatus)

Parâmetros
invocationStatus InvocationStatus

Retorna
ClusterCommandEvent.Builder

setTimestamp

public ClusterCommandEvent.Builder setTimestamp (long timestamp)

Parâmetros
timestamp long

Retorna
ClusterCommandEvent.Builder

setType

public ClusterCommandEvent.Builder setType (ClusterCommandEvent.Type type)

Parâmetros
type ClusterCommandEvent.Type

Retorna
ClusterCommandEvent.Builder