ClusterCommandEvent.Builder

public static class ClusterCommandEvent.Builder
extends Object

java.lang.Objeto
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) 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

Constructor

public Builder ()

Métodos públicos

agregar dispositivo serie

public ClusterCommandEvent.Builder addDeviceSerial (String deviceSerial)

Parámetros
deviceSerial String

Devoluciones
ClusterCommandEvent.Builder

construir

public ClusterCommandEvent build ()

Devoluciones
ClusterCommandEvent

establecerID de intento

public ClusterCommandEvent.Builder setAttemptId (String attemptId)

Parámetros
attemptId String

Devoluciones
ClusterCommandEvent.Builder

establecerCommandTaskId

public ClusterCommandEvent.Builder setCommandTaskId (String commandTaskId)

Parámetros
commandTaskId String

Devoluciones
ClusterCommandEvent.Builder

establecer datos

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

Parámetros
name String

value Object

Devoluciones
ClusterCommandEvent.Builder

setDeviceSerials

public ClusterCommandEvent.Builder setDeviceSerials ( deviceSerials)

Parámetros
deviceSerials

Devoluciones
ClusterCommandEvent.Builder

establecer nombre de host

public ClusterCommandEvent.Builder setHostName (String hostName)

Parámetros
hostName String

Devoluciones
ClusterCommandEvent.Builder

establecer estado de invocación

public ClusterCommandEvent.Builder setInvocationStatus (InvocationStatus invocationStatus)

Parámetros
invocationStatus InvocationStatus

Devoluciones
ClusterCommandEvent.Builder

establecer marca de tiempo

public ClusterCommandEvent.Builder setTimestamp (long timestamp)

Parámetros
timestamp long

Devoluciones
ClusterCommandEvent.Builder

establecer tipo

public ClusterCommandEvent.Builder setType (ClusterCommandEvent.Type type)

Parámetros
type ClusterCommandEvent.Type

Devoluciones
ClusterCommandEvent.Builder

,

ClusterCommandEvent.Builder

public static class ClusterCommandEvent.Builder
extends Object

java.lang.Objeto
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) 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

Constructor

public Builder ()

Métodos públicos

agregar dispositivo serie

public ClusterCommandEvent.Builder addDeviceSerial (String deviceSerial)

Parámetros
deviceSerial String

Devoluciones
ClusterCommandEvent.Builder

construir

public ClusterCommandEvent build ()

Devoluciones
ClusterCommandEvent

establecerID de intento

public ClusterCommandEvent.Builder setAttemptId (String attemptId)

Parámetros
attemptId String

Devoluciones
ClusterCommandEvent.Builder

establecerCommandTaskId

public ClusterCommandEvent.Builder setCommandTaskId (String commandTaskId)

Parámetros
commandTaskId String

Devoluciones
ClusterCommandEvent.Builder

establecer datos

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

Parámetros
name String

value Object

Devoluciones
ClusterCommandEvent.Builder

setDeviceSerials

public ClusterCommandEvent.Builder setDeviceSerials ( deviceSerials)

Parámetros
deviceSerials

Devoluciones
ClusterCommandEvent.Builder

establecer nombre de host

public ClusterCommandEvent.Builder setHostName (String hostName)

Parámetros
hostName String

Devoluciones
ClusterCommandEvent.Builder

establecer estado de invocación

public ClusterCommandEvent.Builder setInvocationStatus (InvocationStatus invocationStatus)

Parámetros
invocationStatus InvocationStatus

Devoluciones
ClusterCommandEvent.Builder

establecer marca de tiempo

public ClusterCommandEvent.Builder setTimestamp (long timestamp)

Parámetros
timestamp long

Devoluciones
ClusterCommandEvent.Builder

establecer tipo

public ClusterCommandEvent.Builder setType (ClusterCommandEvent.Type type)

Parámetros
type ClusterCommandEvent.Type

Devoluciones
ClusterCommandEvent.Builder