클러스터 호스트 이벤트
public class ClusterHostEvent
extends Object
implements IClusterEvent
java.lang.객체 | |
↳ | 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 |
public static final String | TEST_HARNESS_START_TIME_KEY |
public static final String | TRADEFED
|
공개 메서드 | |
---|---|
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 ()
|
필드
EVENT_QUEUE
public static final String EVENT_QUEUE
호스트_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
거래
public static final String TRADEFED
공개 메서드
getClusterId
public String getClusterId ()
보고 | |
---|---|
String |
데이터 가져오기
publicgetData ()
보고 | |
---|---|
getDeviceInfos
publicgetDeviceInfos ()
보고 | |
---|---|
getHostName
public String getHostName ()
보고 | |
---|---|
String |
getLabName
public String getLabName ()
보고 | |
---|---|
String |
getNextClusterId
publicgetNextClusterIds ()
보고 | |
---|---|
getTestHarness
public String getTestHarness ()
보고 | |
---|---|
String |
getTestHarnessVersion
public String getTestHarnessVersion ()
보고 | |
---|---|
String |
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 and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-10-04 UTC.
[]
[]