ClusterHostEvent
public class ClusterHostEvent
extends Object
implements IClusterEvent
java.lang.Object | |
↳ | com.android.tradefed.cluster.ClusterHostEvent |
封装要上载的群集主机事件的类。
概要
嵌套类 | |
---|---|
class | ClusterHostEvent.Builder |
enum | ClusterHostEvent.HostEventType 不同类型的主机事件的枚举。 |
领域 | |
---|---|
public static final String | EVENT_QUEUE |
public static final String | HOST_IP_KEY |
public static final String | LABEL_KEY
|
公开方法 | |
---|---|
String | getClusterId () |
getData () | |
getDeviceInfos () | |
String | getHostName () |
CommandScheduler.HostState | getHostState () |
String | getLabName () |
getNextClusterIds () | |
long | getTfStartTime () |
String | getTfVersion () |
long | getTimestamp () |
ClusterHostEvent.HostEventType | getType () |
JSONObject | toJSON ()
|
领域
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
公开方法
getClusterId
public String getClusterId ()
退货 | |
---|---|
String |
getData
publicgetData ()
退货 | |
---|---|
getDeviceInfos
publicgetDeviceInfos ()
退货 | |
---|---|
getHostName
public String getHostName ()
退货 | |
---|---|
String |
getLabName
public String getLabName ()
退货 | |
---|---|
String |
getNextClusterIds
publicgetNextClusterIds ()
退货 | |
---|---|
getTfStartTime
public long getTfStartTime ()
退货 | |
---|---|
long |
getTfVersion
public String getTfVersion ()
退货 | |
---|---|
String |
getTimestamp
public long getTimestamp ()
退货 | |
---|---|
long |
toJSON
public JSONObject toJSON ()
退货 | |
---|---|
JSONObject |
投掷 | |
---|---|
JSONException |
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-09-08 UTC.