Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
RemoteSshUtil
public
class
RemoteSshUtil
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.device.cloud.RemoteSshUtil
|
Narzędzie do wykonywania poleceń ssh w instancjach zdalnych.
Podsumowanie
Metody publiczne |
static
CommandResult
|
remoteSshCommandExec(GceAvdInfo remoteInstance, TestDeviceOptions options, IRunUtil runUtil, long timeoutMs, OutputStream stdout, OutputStream stderr, String... command)
Wykonaj polecenie w instancji zdalnej za pomocą SSH.
|
static
CommandResult
|
remoteSshCommandExec(GceAvdInfo remoteInstance, TestDeviceOptions options, IRunUtil runUtil, long timeoutMs, String... command)
Wykonaj polecenie w instancji zdalnej za pomocą SSH.
|
Konstruktory publiczne
RemoteSshUtil
public RemoteSshUtil ()
Metody publiczne
RemoteSshCommandExec
public static CommandResult remoteSshCommandExec (GceAvdInfo remoteInstance,
TestDeviceOptions options,
IRunUtil runUtil,
long timeoutMs,
OutputStream stdout,
OutputStream stderr,
String... command)
Wykonaj polecenie w instancji zdalnej za pomocą SSH.
Parametry |
remoteInstance |
GceAvdInfo : GceAvdInfo opisujący urządzenie. |
options |
TestDeviceOptions : TestDeviceOptions opisujący opcje urządzenia używane w przypadku
Urządzenie GCE. |
runUtil |
IRunUtil : IRunUtil do wykonywania poleceń. |
timeoutMs |
long : ukończenie pobierania w milisekundach |
stdout |
OutputStream : typ ERROR(/OutputStream) , w którym zostanie zapisane standardowe wyjście. |
stderr |
OutputStream : ERROR(/OutputStream) , w którym zostanie zarejestrowany element stderr. |
command |
String : polecenie do wykonania. |
RemoteSshCommandExec
public static CommandResult remoteSshCommandExec (GceAvdInfo remoteInstance,
TestDeviceOptions options,
IRunUtil runUtil,
long timeoutMs,
String... command)
Wykonaj polecenie w instancji zdalnej za pomocą SSH.
Parametry |
remoteInstance |
GceAvdInfo : GceAvdInfo opisujący urządzenie. |
options |
TestDeviceOptions : TestDeviceOptions opisujący opcje urządzenia używane w przypadku
Urządzenie GCE. |
runUtil |
IRunUtil : IRunUtil do wykonywania poleceń. |
timeoutMs |
long : ukończenie pobierania w milisekundach |
command |
String : polecenie do wykonania. |
Treść strony i umieszczone na niej fragmenty kodu podlegają licencjom opisanym w Licencji na treści. Java i OpenJDK są znakami towarowymi lub zastrzeżonymi znakami towarowymi należącymi do firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-22 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Brak potrzebnych mi informacji"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Zbyt skomplikowane / zbyt wiele czynności do wykonania"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Nieaktualne treści"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Problem z tłumaczeniem"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Problem z przykładami/kodem"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Inne"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Łatwo zrozumieć"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Rozwiązało to mój problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Inne"
}]
{
"lastModified": "Ostatnia aktualizacja: 2024-08-22 UTC.",
"confidential": False
}