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
Enum 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
Chiave_IP_HOST
public static final String HOST_IP_KEY
CHIAVE_ETICHETTA
public static final String LABEL_KEY
TEST_HARNESS_START_TIME_KEY
public static final String TEST_HARNESS_START_TIME_KEY
TRASFERITO
public static final String TRADEFED
Metodi pubblici
getClusterId
public String getClusterId ()
Ritorni | |
---|---|
String |
getData
publicgetData ()
Ritorni | |
---|---|
|
getDeviceInfos
publicgetDeviceInfos ()
Ritorni | |
---|---|
|
getHostName
public String getHostName ()
Ritorni | |
---|---|
String |
getLabName
public String getLabName ()
Ritorni | |
---|---|
String |
Orienta ClusterId
publicgetNextClusterIds ()
Ritorni | |
---|---|
|
getTestHarness
public String getTestHarness ()
Ritorni | |
---|---|
String |
getTestHarnessVersion
public String getTestHarnessVersion ()
Ritorni | |
---|---|
String |
getTfVersion
public String getTfVersion ()
Ritorni | |
---|---|
String |
getTimestamp
public long getTimestamp ()
Ritorni | |
---|---|
long |
toJSON
public JSONObject toJSON ()
Ritorni | |
---|---|
JSONObject |
Lanci | |
---|---|
JSONException |