ClusterHostEvent

public class ClusterHostEvent
extends Object implements IClusterEvent

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


Una classe per incapsulare gli eventi host del cluster da caricare.

Riepilogo

Classi nidificate

class ClusterHostEvent.Builder

 

Costanti

String EVENT_QUEUE

String HOST_IP_KEY

String LABEL_KEY

String TEST_HARNESS_START_TIME_KEY

String TRADEFED

Metodi pubblici

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

Costanti

EVENT_QUEUE

public static final String EVENT_QUEUE

Valore costante: "host-event-queue"

HOST_IP_KEY

public static final String HOST_IP_KEY

Valore costante: "host_ip"

LABEL_KEY

public static final String LABEL_KEY

Valore costante: "label"

TEST_HARNESS_START_TIME_KEY

public static final String TEST_HARNESS_START_TIME_KEY

Valore costante: "test_harness_start_time_ms"

TRADEFED

public static final String TRADEFED

Valore costante: "TRADEFED"

Metodi pubblici

getClusterId

public String getClusterId ()

Resi
String

getData

public Map<String, String> getData ()

Resi
Map<String, String>

getDeviceInfos

public List<ClusterDeviceInfo> getDeviceInfos ()

Resi
List<ClusterDeviceInfo>

getHostName

public String getHostName ()

Resi
String

getHostState

public CommandScheduler.HostState getHostState ()

Resi
CommandScheduler.HostState

getLabName

public String getLabName ()

Resi
String

getNextClusterIds

public List<String> getNextClusterIds ()

Resi
List<String>

getTestHarness

public String getTestHarness ()

Resi
String

getTestHarnessVersion

public String getTestHarnessVersion ()

Resi
String

getTfVersion

public String getTfVersion ()

Resi
String

getTimestamp

public long getTimestamp ()

Resi
long

toJSON

public JSONObject toJSON ()

Resi
JSONObject

Genera
JSONException