DeviceConcurrentUtil.ShellCommandCallable
public static abstract class DeviceConcurrentUtil.ShellCommandCallable
extends Object
java.lang.Nesne |
↳ | com.android.tradefed.util.DeviceConcurrentUtil.ShellCommandCallable<V> |
Bir ITestDevice
üzerinde kabuk komutunu yürütmenin ayrıntılarını saran bir ERROR(/Callable)
.
Komut çıktısını işlemek ve Callable
geri dönüşünü belirlemek için processOutput(String)
uygulanmalıdır.
Özet
Kamu inşaatçıları
KabukKomutÇağırılabilir
public ShellCommandCallable ()
KabukKomutÇağırılabilir
public ShellCommandCallable (ITestDevice device,
String command,
long timeout)
parametreler |
---|
device | ITestDevice |
command | String |
timeout | long |
Genel yöntemler
süreçÇıktı
public abstract V processOutput (String output)
parametreler |
---|
output | String |
setCihaz
public ShellCommandCallable<V> setDevice (ITestDevice device)
parametreler |
---|
device | ITestDevice |