叢集主機事件

public class ClusterHostEvent
extends Object implements IClusterEvent

java.lang.Object
   ↳ com.android.tradefed.cluster.ClusterHostEvent


用於封裝要上傳的叢集主機事件的類別。

摘要

巢狀類別

class ClusterHostEvent.Builder

 

欄位

public static final String EVENT_QUEUE

public static final String HOST_IP_KEY

public static final String LABEL_KEY

public static final String TEST_HARNESS_START_TIME_KEY

public static final String TRADEFED

公用方法

String getClusterId()
getData()
getDeviceInfos()
String getHostName()
CommandScheduler.HostState getHostState()
String getLabName()
getNextClusterIds()
String getTestHarness()
String getTestHarnessVersion()
String getTfVersion()
long getTimestamp()
ClusterHostEvent.HostEventType getType()
JSONObject toJSON()

欄位

事件

public static final String EVENT_QUEUE

HOST_IP_KEY

public static final String HOST_IP_KEY

LABEL_KEY

public static final String LABEL_KEY

TEST_HARNESS_START_TIME_KEY

public static final String TEST_HARNESS_START_TIME_KEY

已傳輸

public static final String TRADEFED

公用方法

getClusterId

public String getClusterId ()

傳回
String

getData

public  getData ()

傳回

getDeviceInfos

public  getDeviceInfos ()

傳回

getHostName

public String getHostName ()

傳回
String

getHostState

public CommandScheduler.HostState getHostState ()

傳回
CommandScheduler.HostState

getLabName

public String getLabName ()

傳回
String

getNextClusterId

public  getNextClusterIds ()

傳回

getTestHarness

public String getTestHarness ()

傳回
String

getTestHarnessVersion

public String getTestHarnessVersion ()

傳回
String

getTfVersion

public String getTfVersion ()

傳回
String

getTimestamp

public long getTimestamp ()

傳回
long

JSON

public JSONObject toJSON ()

傳回
JSONObject

擲回
JSONException