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 : 실행할 명령입니다. |