Zdarzenie hosta klastra
public
class
ClusterHostEvent
extends Object
implements
IClusterEvent
java.lang.Object | |
↳ | com.android.tradefed.cluster.ZdarzenieClusterHostEvent |
Klasa do hermetyzacji zdarzeń hosta klastra do przesłania.
Podsumowanie
Zagnieżdżone klasy | |
---|---|
class |
ClusterHostEvent.Builder
|
enum |
ClusterHostEvent.HostEventType
Wyliczenia różnych typów zdarzeń hosta. |
Fieldsem | |
---|---|
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
|
Metody publiczne | |
---|---|
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()
|
Fieldsem
KOLEJKA_ZDARZEŃ
public static final String EVENT_QUEUE
KLUCZ_IP_HOSTA
public static final String HOST_IP_KEY
KLUCZ_ETYKIETY
public static final String LABEL_KEY
TEST_HARNESS_START_TIME_KEY
public static final String TEST_HARNESS_START_TIME_KEY
WYMIENIONE
public static final String TRADEFED
Metody publiczne
getClusterId
public String getClusterId ()
Zwroty | |
---|---|
String |
getData
publicgetData ()
Zwroty | |
---|---|
|
getDeviceInfos
publicgetDeviceInfos ()
Zwroty | |
---|---|
|
getHostName
public String getHostName ()
Zwroty | |
---|---|
String |
getLabName
public String getLabName ()
Zwroty | |
---|---|
String |
Identyfikatory getNextClusterId
publicgetNextClusterIds ()
Zwroty | |
---|---|
|
getTestHarness,
public String getTestHarness ()
Zwroty | |
---|---|
String |
getTestHarnessVersion
public String getTestHarnessVersion ()
Zwroty | |
---|---|
String |
wersja getTfVersion
public String getTfVersion ()
Zwroty | |
---|---|
String |
getTimestamp
public long getTimestamp ()
Zwroty | |
---|---|
long |
JSON
public JSONObject toJSON ()
Zwroty | |
---|---|
JSONObject |
Rzuty | |
---|---|
JSONException |