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