هيكل للاحتفاظ بالبيانات ذات الصلة لمثيل 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_branch.
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 |
إلى سلسلة
public String toString ()
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ Java وOpenJDK هما علامتان تجاريتان مسجَّلتان لشركة Oracle و/أو الشركات التابعة لها.
تاريخ التعديل الأخير: 2023-12-01 (حسب التوقيت العالمي المتفَّق عليه)
[{
"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":"غير ذلك"
}]