ClusterCommandEvent.Builder

public static class ClusterCommandEvent.Builder
extends Object

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


Riepilogo

Costruttori pubblici

Builder()

Metodi pubblici

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)

Costruttori pubblici

Costruttore

public Builder ()

Metodi pubblici

addDeviceSerial

public ClusterCommandEvent.Builder addDeviceSerial (String deviceSerial)

Parametri
deviceSerial String

Ritorni
ClusterCommandEvent.Builder

creare

public ClusterCommandEvent build ()

Ritorni
ClusterCommandEvent

setTentativoId

public ClusterCommandEvent.Builder setAttemptId (String attemptId)

Parametri
attemptId String

Ritorni
ClusterCommandEvent.Builder

setCommandTaskId

public ClusterCommandEvent.Builder setCommandTaskId (String commandTaskId)

Parametri
commandTaskId String

Ritorni
ClusterCommandEvent.Builder

setData

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

Parametri
name String

value Object

Ritorni
ClusterCommandEvent.Builder

setDeviceSerials

public ClusterCommandEvent.Builder setDeviceSerials ( deviceSerials)

Parametri
deviceSerials

Ritorni
ClusterCommandEvent.Builder

setHostName

public ClusterCommandEvent.Builder setHostName (String hostName)

Parametri
hostName String

Ritorni
ClusterCommandEvent.Builder

setInvocationStatus

public ClusterCommandEvent.Builder setInvocationStatus (InvocationStatus invocationStatus)

Parametri
invocationStatus InvocationStatus

Ritorni
ClusterCommandEvent.Builder

setTimestamp

public ClusterCommandEvent.Builder setTimestamp (long timestamp)

Parametri
timestamp long

Ritorni
ClusterCommandEvent.Builder

Tipo di impostazione

public ClusterCommandEvent.Builder setType (ClusterCommandEvent.Type type)

Parametri
type ClusterCommandEvent.Type

Ritorni
ClusterCommandEvent.Builder