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
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
publicgetData ()
Returns | |
---|---|
|
getDeviceInfos
publicgetDeviceInfos ()
Returns | |
---|---|
|
getHostName
public String getHostName ()
Returns | |
---|---|
String |
getLabName
public String getLabName ()
Returns | |
---|---|
String |
getNextClusterIds
publicgetNextClusterIds ()
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 |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-08-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-08-03 UTC."],[],[]]