RemoteSshUtil
public class RemoteSshUtil
extends Object
java.lang.Object |
↳ | com.android.tradefed.device.cloud.RemoteSshUtil |
リモートインスタンスでsshコマンドを実行するユーティリティ。
概要
パブリックメソッド |
---|
static CommandResult | remoteSshCommandExec (GceAvdInfo remoteInstance, TestDeviceOptions options, IRunUtil runUtil, long timeoutMs, OutputStream stdout, OutputStream stderr, String... command) sshを使用してリモートインスタンスでコマンドを実行します。 |
static CommandResult | remoteSshCommandExec (GceAvdInfo remoteInstance, TestDeviceOptions options, IRunUtil runUtil, long timeoutMs, String... command) sshを使用してリモートインスタンスでコマンドを実行します。 |
パブリックコンストラクター
RemoteSshUtil
public RemoteSshUtil ()
パブリックメソッド
remoteSshCommandExec
public static CommandResult remoteSshCommandExec (GceAvdInfo remoteInstance,
TestDeviceOptions options,
IRunUtil runUtil,
long timeoutMs,
OutputStream stdout,
OutputStream stderr,
String... command)
sshを使用してリモートインスタンスでコマンドを実行します。
remoteSshCommandExec
public static CommandResult remoteSshCommandExec (GceAvdInfo remoteInstance,
TestDeviceOptions options,
IRunUtil runUtil,
long timeoutMs,
String... command)
sshを使用してリモートインスタンスでコマンドを実行します。
パラメーター |
---|
remoteInstance | GceAvdInfo :デバイスを説明するGceAvdInfo 。 |
options | TestDeviceOptions :GCEデバイスに使用されるデバイスオプションを説明するTestDeviceOptions 。 |
runUtil | IRunUtil :コマンドを実行するためのIRunUtil 。 |
timeoutMs | long :フェッチが完了するまでのミリ秒単位 |
command | String :実行するコマンド。 |