DeviceConcurrentUtil.ShellCommandCallable
public static abstract class DeviceConcurrentUtil.ShellCommandCallable
extends Object
java.lang.Objek |
| com.android.tradefed.util.DeviceConcurrentUtil.ShellCommandCallable<V> |
ERROR(/Callable)
yang membungkus detail eksekusi perintah shell pada ITestDevice
.
Harus mengimplementasikan processOutput(String)
untuk memproses output perintah dan menentukan pengembalian Callable
Ringkasan
Konstruktor publik
ShellCommandCallable
public ShellCommandCallable ()
ShellCommandCallable
public ShellCommandCallable (ITestDevice device,
String command,
long timeout)
Parameter |
---|
device | ITestDevice |
command | String |
timeout | long |
Metode publik
panggilan
public V call ()
prosesKeluaran
public abstract V processOutput (String output)
setPerangkat
public ShellCommandCallable<V> setDevice (ITestDevice device)
Parameter |
---|
device | ITestDevice |