ClusterHostEvent

public class ClusterHostEvent
extends Object implements IClusterEvent

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


A class to encapsulate cluster host events to be uploaded.

Summary

Nested classes

class ClusterHostEvent.Builder

 

Fields

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

Public methods

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()

Fields

EVENT_QUEUE

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

TRADEFED

public static final String TRADEFED

Public methods

getClusterId

public String getClusterId ()

Returns
String

getData

public  getData ()

Returns

getDeviceInfos

public  getDeviceInfos ()

Returns

getHostName

public String getHostName ()

Returns
String

getHostState

public CommandScheduler.HostState getHostState ()

Returns
CommandScheduler.HostState

getLabName

public String getLabName ()

Returns
String

getNextClusterIds

public  getNextClusterIds ()

Returns

getTestHarness

public String getTestHarness ()

Returns
String

getTestHarnessVersion

public String getTestHarnessVersion ()

Returns
String

getTfVersion

public String getTfVersion ()

Returns
String

getTimestamp

public long getTimestamp ()

Returns
long

toJSON

public JSONObject toJSON ()

Returns
JSONObject

Throws
JSONException