DeviceConcurrentUtil.ShellCommandCallable
public static abstract class DeviceConcurrentUtil.ShellCommandCallable
extends Object
java.lang.Object |
↳ | com.android.tradefed.util.DeviceConcurrentUtil.ShellCommandCallable<V> |
Un ERROR(/Callable)
che racchiude i dettagli dell'esecuzione del comando shell su un ITestDevice
.
È necessario implementare processOutput(String)
per elaborare l'output del comando e determinare la restituzione del Callable
Riepilogo
Costruttori pubblici
ShellCommandCallable
public ShellCommandCallable ()
ShellCommandCallable
public ShellCommandCallable (ITestDevice device,
String command,
long timeout)
Parametri |
---|
device | ITestDevice |
command | String |
timeout | long |
Metodi pubblici
chiamata
public V call ()
processOutput
public abstract V processOutput (String output)
setDevice
public ShellCommandCallable<V> setDevice (ITestDevice device)
Parametri |
---|
device | ITestDevice |