DeviceConcurrentUtil.ShellCommandCallable
public static abstract class DeviceConcurrentUtil.ShellCommandCallable
extends Object
java.lang.Object |
↳ | com.android.tradefed.util.DeviceConcurrentUtil.ShellCommandCallable<V> |
Ein ERROR(/Callable)
, der die Details der Ausführung des Shell-Befehls auf einem ITestDevice
umschließt.
processOutput(String)
muss implementiert werden, um die Befehlsausgabe zu verarbeiten und die Rückgabe des Callable
zu bestimmen
Zusammenfassung
Öffentliche Bauträger
ShellCommandCallable
public ShellCommandCallable ()
ShellCommandCallable
public ShellCommandCallable (ITestDevice device,
String command,
long timeout)
Parameter |
---|
device | ITestDevice |
command | String |
timeout | long |
Öffentliche Methoden
ProzessAusgabe
public abstract V processOutput (String output)
setDevice
public ShellCommandCallable<V> setDevice (ITestDevice device)
Parameter |
---|
device | ITestDevice |