ClusterCommandEvent.Builder

public static class ClusterCommandEvent.Builder
extends Object

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


概要

パブリック コンストラクタ

Builder()

パブリック メソッド

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)

パブリック コンストラクタ

Builder

public Builder ()

パブリック メソッド

addDeviceSerial

public ClusterCommandEvent.Builder addDeviceSerial (String deviceSerial)

パラメータ
deviceSerial String

戻り値
ClusterCommandEvent.Builder

build

public ClusterCommandEvent build ()

戻り値
ClusterCommandEvent

setAttemptId

public ClusterCommandEvent.Builder setAttemptId (String attemptId)

パラメータ
attemptId String

戻り値
ClusterCommandEvent.Builder

setCommandTaskId

public ClusterCommandEvent.Builder setCommandTaskId (String commandTaskId)

パラメータ
commandTaskId String

戻り値
ClusterCommandEvent.Builder

setData

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

パラメータ
name String

value Object

戻り値
ClusterCommandEvent.Builder

setDeviceSerials

public ClusterCommandEvent.Builder setDeviceSerials ( deviceSerials)

パラメータ
deviceSerials

戻り値
ClusterCommandEvent.Builder

setHostName

public ClusterCommandEvent.Builder setHostName (String hostName)

パラメータ
hostName String

戻り値
ClusterCommandEvent.Builder

setInvocationStatus

public ClusterCommandEvent.Builder setInvocationStatus (InvocationStatus invocationStatus)

パラメータ
invocationStatus InvocationStatus

戻り値
ClusterCommandEvent.Builder

setTimestamp

public ClusterCommandEvent.Builder setTimestamp (long timestamp)

パラメータ
timestamp long

戻り値
ClusterCommandEvent.Builder

setType

public ClusterCommandEvent.Builder setType (ClusterCommandEvent.Type type)

パラメータ
type ClusterCommandEvent.Type

戻り値
ClusterCommandEvent.Builder