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()
Map<String, String> getData()
List<ClusterDeviceInfo> getDeviceInfos()
String getHostName()
CommandScheduler.HostState getHostState()
String getLabName()
List<String> 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

Constant Value: "host_ip"

LABEL_KEY

public static final String LABEL_KEY

Constant Value: "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

Constant Value: "TRADEFED"

Öffentliche Methoden

getClusterId

public String getClusterId ()

Gibt Folgendes zurück:
String

getData

public Map<String, String> getData ()

Gibt Folgendes zurück:
Map<String, String>

getDeviceInfos

public List<ClusterDeviceInfo> getDeviceInfos ()

Gibt Folgendes zurück:
List<ClusterDeviceInfo>

getHostName

public String getHostName ()

Gibt Folgendes zurück:
String

getHostState

public CommandScheduler.HostState getHostState ()

Gibt Folgendes zurück:
CommandScheduler.HostState

getLabName

public String getLabName ()

Gibt Folgendes zurück:
String

getNextClusterIds

public List<String> getNextClusterIds ()

Gibt Folgendes zurück:
List<String>

getTestHarness

public String getTestHarness ()

Gibt Folgendes zurück:
String

getTestHarnessVersion

public String getTestHarnessVersion ()

Gibt Folgendes zurück:
String

getTfVersion

public String getTfVersion ()

Gibt Folgendes zurück:
String

getTimestamp

public long getTimestamp ()

Gibt Folgendes zurück:
long

getType

public ClusterHostEvent.HostEventType getType ()

Gibt Folgendes zurück:
ClusterHostEvent.HostEventType

toJSON

public JSONObject toJSON ()

Gibt Folgendes zurück:
JSONObject

Löst aus
JSONException