ClusterCommandEvent.Builder

public static class ClusterCommandEvent.Builder
extends Object

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


Zusammenfassung

Öffentliche Konstruktoren

Builder()

Öffentliche Methoden

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)

Öffentliche Konstruktoren

Builder

public Builder ()

Öffentliche Methoden

addDeviceSerial

public ClusterCommandEvent.Builder addDeviceSerial (String deviceSerial)

Parameter
deviceSerial String

Returns
ClusterCommandEvent.Builder

build

public ClusterCommandEvent build ()

Returns
ClusterCommandEvent

setAttemptId

public ClusterCommandEvent.Builder setAttemptId (String attemptId)

Parameter
attemptId String

Returns
ClusterCommandEvent.Builder

setCommandAufgaben-ID

public ClusterCommandEvent.Builder setCommandTaskId (String commandTaskId)

Parameter
commandTaskId String

Returns
ClusterCommandEvent.Builder

Daten festlegen

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

Parameter
name String

value Object

Returns
ClusterCommandEvent.Builder

SetDeviceSerials

public ClusterCommandEvent.Builder setDeviceSerials ( deviceSerials)

Parameter
deviceSerials

Returns
ClusterCommandEvent.Builder

setHostName

public ClusterCommandEvent.Builder setHostName (String hostName)

Parameter
hostName String

Returns
ClusterCommandEvent.Builder

setInvocationStatus

public ClusterCommandEvent.Builder setInvocationStatus (InvocationStatus invocationStatus)

Parameter
invocationStatus InvocationStatus

Returns
ClusterCommandEvent.Builder

SetZeitstempel

public ClusterCommandEvent.Builder setTimestamp (long timestamp)

Parameter
timestamp long

Returns
ClusterCommandEvent.Builder

Set-Typ

public ClusterCommandEvent.Builder setType (ClusterCommandEvent.Type type)

Parameter
type ClusterCommandEvent.Type

Returns
ClusterCommandEvent.Builder