מבנה להחזקת נתונים רלוונטיים עבור מופע נתון של GCE AVD.
כיתות מקוננות |
---|
enum | GceAvdInfo.GceStatus |
בנאים ציבוריים |
---|
GceAvdInfo (String instanceName, HostAndPort hostAndPort) |
GceAvdInfo (String instanceName, HostAndPort hostAndPort, ErrorIdentifier errorType, String errors, GceAvdInfo.GceStatus status) |
שדות
BUILD_VARS
public static final BUILD_VARS
בנאים ציבוריים
GceAvdInfo
public GceAvdInfo (String instanceName,
HostAndPort hostAndPort)
פרמטרים |
---|
instanceName | String |
hostAndPort | HostAndPort |
GceAvdInfo
public GceAvdInfo (String instanceName,
HostAndPort hostAndPort,
ErrorIdentifier errorType,
String errors,
GceAvdInfo.GceStatus status)
פרמטרים |
---|
instanceName | String |
hostAndPort | HostAndPort |
errorType | ErrorIdentifier |
errors | String |
status | GceAvdInfo.GceStatus |
שיטות ציבוריות
getBuildVars
public getBuildVars ()
החזר גיבוב של מידע משתנה של בניית מכשיר GCE AVD.
מפתחות משתני בנייה אפשריים מתוארים ב-BUILD_VARS לדוגמה: build_id, build_target, branch, kernel_build_id, kernel_build_target, kernel_branch, system_build_id, system_build_target, system_branch, emulator_build_id, emulator_build_target, emulator_bran.
getErrorType
public ErrorIdentifier getErrorType ()
getErrors
public String getErrors ()
hostAndPort
public HostAndPort hostAndPort ()
שם מופע
public String instanceName ()
parseGceInfoFromFile
public static GceAvdInfo parseGceInfoFromFile (File f,
DeviceDescriptor descriptor,
int remoteAdbPort)
נתח קובץ נתון כדי לקבל את המידע על מכשיר GCE AVD.
פרמטרים |
---|
f | File : קובץ ERROR(/File) לקריאת פלט JSON ממנהל התקן GCE. |
descriptor | DeviceDescriptor : המתאר של המכשיר שזקוק למידע. |
remoteAdbPort | int : היציאה המרוחקת שאמורה לשמש לחיבור adb |
parseGceInfoFromString
public static GceAvdInfo parseGceInfoFromString (String data,
DeviceDescriptor descriptor,
int remoteAdbPort)
נתח מחרוזת נתונה כדי לקבל את מידע התקן GCE AVD.
פרמטרים |
---|
data | String : מחרוזת JSON. |
descriptor | DeviceDescriptor : המתאר של המכשיר שזקוק למידע. |
remoteAdbPort | int : היציאה המרוחקת שאמורה לשמש לחיבור adb |
toString
public String toString ()
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2023-12-01 (שעון UTC).
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"חסרים לי מידע או פרטים"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"התוכן מורכב מדי או עם יותר מדי שלבים"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"התוכן לא עדכני"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"בעיה בתרגום"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"בעיה בדוגמאות/בקוד"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"סיבה אחרת"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"התוכן קל להבנה"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"התוכן עזר לי לפתור בעיה"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"סיבה אחרת"
}]