ClusterHostEvent
public class ClusterHostEvent
extends Object
implements IClusterEvent
java.lang.Object | |
? | com.android.tradefed.cluster.ClusterHostEvent |
Una classe per incapsulare gli eventi dell'host del cluster da caricare.
Riepilogo
Classi nidificate | |
---|---|
class | ClusterHostEvent.Builder |
enum | ClusterHostEvent.HostEventType Enumerazioni dei diversi tipi di eventi host. |
Campi | |
---|---|
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
|
Metodi pubblici | |
---|---|
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 ()
|
Campi
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
SCAMBIO
public static final String TRADEFED
Metodi pubblici
getClusterId
public String getClusterId ()
ritorna | |
---|---|
String |
getData
publicgetData ()
ritorna | |
---|---|
getDeviceInfos
publicgetDeviceInfos ()
ritorna | |
---|---|
getHostName
public String getHostName ()
ritorna | |
---|---|
String |
getLabName
public String getLabName ()
ritorna | |
---|---|
String |
getNextClusterIds
publicgetNextClusterIds ()
ritorna | |
---|---|
getTestHarness
public String getTestHarness ()
ritorna | |
---|---|
String |
getTestHarnessVersion
public String getTestHarnessVersion ()
ritorna | |
---|---|
String |
getTfVersion
public String getTfVersion ()
ritorna | |
---|---|
String |
getTimestamp
public long getTimestamp ()
ritorna | |
---|---|
long |
toJSON
public JSONObject toJSON ()
ritorna | |
---|---|
JSONObject |
tiri | |
---|---|
JSONException |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-10-04 UTC.
[]
[]