ClusterHostEvent

public class ClusterHostEvent
extends Object implements IClusterEvent

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


Eine Klasse zum Kapseln von Cluster-Host-Ereignissen, die hochgeladen werden sollen.

Zusammenfassung

Verschachtelte Klassen

class ClusterHostEvent.Builder

 

Konstanten

String EVENT_QUEUE

String HOST_IP_KEY

String LABEL_KEY

String TEST_HARNESS_START_TIME_KEY

String TRADEFED

Öffentliche Methoden

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

Konstanten

EVENT_QUEUE

public static final String EVENT_QUEUE

Konstanter Wert: "host-event-queue"

HOST_IP_KEY

public static final String HOST_IP_KEY

Konstanter Wert: "host_ip"

LABEL_KEY

public static final String LABEL_KEY

Konstanter Wert: "label"

TEST_HARNESS_START_TIME_KEY

public static final String TEST_HARNESS_START_TIME_KEY

Constant Value: "test_harness_start_time_ms"

TRADEFED

public static final String TRADEFED

Konstanter Wert: "TRADEFED"

Öffentliche Methoden

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

Ausgabe
JSONException