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.