ClusterCommandEvent.Builder

public static class ClusterCommandEvent.Builder
extends Object

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


Résumé

Constructeurs publics

Builder()

Méthodes publiques

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)

Constructeurs publics

Builder

public Builder ()

Méthodes publiques

addDeviceSerial

public ClusterCommandEvent.Builder addDeviceSerial (String deviceSerial)

Paramètres
deviceSerial String

Renvoie
ClusterCommandEvent.Builder

build

public ClusterCommandEvent build ()

Renvoie
ClusterCommandEvent

ID de tentative de définition

public ClusterCommandEvent.Builder setAttemptId (String attemptId)

Paramètres
attemptId String

Renvoie
ClusterCommandEvent.Builder

setCommandTaskId

public ClusterCommandEvent.Builder setCommandTaskId (String commandTaskId)

Paramètres
commandTaskId String

Renvoie
ClusterCommandEvent.Builder

setData

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

Paramètres
name String

value Object

Renvoie
ClusterCommandEvent.Builder

setDeviceSerials

public ClusterCommandEvent.Builder setDeviceSerials ( deviceSerials)

Paramètres
deviceSerials

Renvoie
ClusterCommandEvent.Builder

setHostName

public ClusterCommandEvent.Builder setHostName (String hostName)

Paramètres
hostName String

Renvoie
ClusterCommandEvent.Builder

setInvocationStatus

public ClusterCommandEvent.Builder setInvocationStatus (InvocationStatus invocationStatus)

Paramètres
invocationStatus InvocationStatus

Renvoie
ClusterCommandEvent.Builder

setTimestamp

public ClusterCommandEvent.Builder setTimestamp (long timestamp)

Paramètres
timestamp long

Renvoie
ClusterCommandEvent.Builder

setType

public ClusterCommandEvent.Builder setType (ClusterCommandEvent.Type type)

Paramètres
type ClusterCommandEvent.Type

Renvoie
ClusterCommandEvent.Builder