DeviceConcurrentUtil.ShellCommandCallable
public static abstract class DeviceConcurrentUtil.ShellCommandCallable
extends Object
Obiekt Java.lang.Object |
↳ | com.android.tradefed.util.DeviceConcurrentUtil.ShellCommandCallable<V> |
ERROR(/Callable)
, który otacza szczegóły wykonywania polecenia powłoki na urządzeniu ITestDevice
.
Należy zaimplementować processOutput(String)
, aby przetworzyć dane wyjściowe polecenia i określić zwrot Callable
Streszczenie
Konstruktorzy publiczni
Polecenia powłoki, które można wywołać
public ShellCommandCallable ()
Polecenia powłoki, które można wywołać
public ShellCommandCallable (ITestDevice device,
String command,
long timeout)
Parametry |
---|
device | ITestDevice |
command | String |
timeout | long |
Metody publiczne
Dane wyjściowe procesu
public abstract V processOutput (String output)
ustaw urządzenie
public ShellCommandCallable<V> setDevice (ITestDevice device)
Parametry |
---|
device | ITestDevice |