Google is committed to advancing racial equity for Black communities. See how.

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

 

enum ClusterHostEvent.HostEventType

Enums of the different types of host events. 

Fields

public static final String EVENT_QUEUE

public static final String HOST_IP_KEY

public static final String LABEL_KEY

Public methods

String getClusterId()
getData()
getDeviceInfos()
String getHostName()
CommandScheduler.HostState getHostState()
String getLabName()
getNextClusterIds()
long getTfStartTime()
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

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

getTfStartTime

public long getTfStartTime ()

Returns
long

getTfVersion

public String getTfVersion ()

Returns
String

getTimestamp

public long getTimestamp ()

Returns
long

toJSON

public JSONObject toJSON ()

Returns
JSONObject

Throws
JSONException