Zdarzenie hosta klastra
public class ClusterHostEvent
extends Object
implements IClusterEvent
Obiekt Java.lang.Object | |
↳ | com.android.tradefed.cluster.ClusterHostEvent |
Klasa służąca do hermetyzacji zdarzeń hosta klastra, które mają zostać przesłane.
Streszczenie
Zagnieżdżone klasy | |
---|---|
class | ClusterHostEvent.Builder
|
Pola | |
---|---|
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 ()
|
Pola
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
Metody publiczne
pobierzIdClusterId
public String getClusterId ()
Zwroty | |
---|---|
String |
otrzymać dane
publicgetData ()
Zwroty | |
---|---|
pobierz informacje o urządzeniu
publicgetDeviceInfos ()
Zwroty | |
---|---|
pobierz nazwę hosta
public String getHostName ()
Zwroty | |
---|---|
String |
pobierz stan hosta
public CommandScheduler.HostState getHostState ()
Zwroty | |
---|---|
CommandScheduler.HostState |
pobierz nazwę laboratorium
public String getLabName ()
Zwroty | |
---|---|
String |
getNextClusterIds
publicgetNextClusterIds ()
Zwroty | |
---|---|
pobierzTestHarness
public String getTestHarness ()
Zwroty | |
---|---|
String |
pobierz wersję testowąHarness
public String getTestHarnessVersion ()
Zwroty | |
---|---|
String |
pobierz wersję Tf
public String getTfVersion ()
Zwroty | |
---|---|
String |
pobierz znacznik czasu
public long getTimestamp ()
Zwroty | |
---|---|
long |
do JSON
public JSONObject toJSON ()
Zwroty | |
---|---|
JSONObject |
Rzuca | |
---|---|
JSONException |
Treść strony i umieszczone na niej fragmenty kodu podlegają licencjom opisanym w Licencji na treści. Java i OpenJDK są znakami towarowymi lub zastrzeżonymi znakami towarowymi należącymi do firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2023-12-01 UTC.
[]
[]