入れ子になったクラス |
---|
class | GceAvdInfo.LogFileEntry |
田畑
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。
getDeviceOffset
public Integer getDeviceOffset ()
getErrors
public String getErrors ()
getInstanceUser
public String getInstanceUser ()
ログの取得
public getLogs ()
ローカルまたはリモートのログ パスからタイプへのマップを返します。
ホストとポート
public HostAndPort hostAndPort ()
インスタンス名
public String instanceName ()
public boolean isIpPreconfigured ()
ファイルからの GceInfo を解析
public static GceAvdInfo parseGceInfoFromFile (File f,
DeviceDescriptor descriptor,
int remoteAdbPort)
指定されたファイルを解析して GCE AVD デバイス情報を取得します。
パラメーター |
---|
f | File : GCE ドライバーから JSON 出力を読み取るためのERROR(/File) ファイル。 |
descriptor | DeviceDescriptor : 情報が必要なデバイスの記述子。 |
remoteAdbPort | int : adb 接続に使用するリモート ポート |
parseGceInfoFromOxygenClient出力
public static parseGceInfoFromOxygenClientOutput (CommandResult oxygenRes,
int remoteAdbPort)
Oxygen クライアント バイナリからの特定のコマンド ライン出力を解析して、リースされた AVD 情報を取得します。
パラメーター |
---|
oxygenRes | CommandResult : Oxygen クライアント コマンド実行からのCommandResult 。 |
remoteAdbPort | int : adb 接続に使用するリモート ポート |
parseGceInfoFromString
public static GceAvdInfo parseGceInfoFromString (String data,
DeviceDescriptor descriptor,
int remoteAdbPort)
指定された文字列を解析して GCE AVD デバイス情報を取得します。
パラメーター |
---|
data | String : JSON 文字列。 |
descriptor | DeviceDescriptor : 情報が必要なデバイスの記述子。 |
remoteAdbPort | int : adb 接続に使用するリモート ポート |
setDeviceOffset
public void setDeviceOffset (Integer deviceOffset)
パラメーター |
---|
deviceOffset | Integer |
setErrorType
public void setErrorType (ErrorIdentifier errorType)
パラメーター |
---|
errorType | ErrorIdentifier |
setErrors
public void setErrors (String errors)
setInstanceUser
public void setInstanceUser (String instanceUser)
パラメーター |
---|
instanceUser | String |
public void setIpPreconfigured (boolean isIpPreconfigured)
パラメーター |
---|
isIpPreconfigured | boolean |
toString
public String toString ()
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2023-06-06 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":"その他"
}]