ClusterCommandEvent.Builder

public static class ClusterCommandEvent.Builder
extends Object

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


Resumen

Constructores 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)

Constructores públicos

Builder

public Builder ()

Métodos públicos

agregarDeviceSerial

public ClusterCommandEvent.Builder addDeviceSerial (String deviceSerial)

Parámetros
deviceSerial String

Muestra
ClusterCommandEvent.Builder

build

public ClusterCommandEvent build ()

Muestra
ClusterCommandEvent

ConfigurarIDdeintento

public ClusterCommandEvent.Builder setAttemptId (String attemptId)

Parámetros
attemptId String

Muestra
ClusterCommandEvent.Builder

ID de tarea de comando

public ClusterCommandEvent.Builder setCommandTaskId (String commandTaskId)

Parámetros
commandTaskId String

Muestra
ClusterCommandEvent.Builder

setData

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

Parámetros
name String

value Object

Muestra
ClusterCommandEvent.Builder

setDeviceSerials

public ClusterCommandEvent.Builder setDeviceSerials ( deviceSerials)

Parámetros
deviceSerials

Muestra
ClusterCommandEvent.Builder

setHostName

public ClusterCommandEvent.Builder setHostName (String hostName)

Parámetros
hostName String

Muestra
ClusterCommandEvent.Builder

setInvocationStatus

public ClusterCommandEvent.Builder setInvocationStatus (InvocationStatus invocationStatus)

Parámetros
invocationStatus InvocationStatus

Muestra
ClusterCommandEvent.Builder

setTimestamp

public ClusterCommandEvent.Builder setTimestamp (long timestamp)

Parámetros
timestamp long

Muestra
ClusterCommandEvent.Builder

setType

public ClusterCommandEvent.Builder setType (ClusterCommandEvent.Type type)

Parámetros
type ClusterCommandEvent.Type

Devuelve
ClusterCommandEvent.Builder