DeviceConcurrentUtil.ShellCommandCallable
public static abstract class DeviceConcurrentUtil.ShellCommandCallable
extends Object
java.lang.Object |
↳ | com.android.tradefed.util.DeviceConcurrentUtil.ShellCommandCallable<V> |
Une ERROR(/Callable)
qui encapsule les détails de l'exécution de la commande shell sur un ITestDevice
.
Doit implémenter processOutput(String)
pour traiter la sortie de la commande et déterminer le retour du Callable
Résumé
Constructeurs publics
ShellCommandCallable
public ShellCommandCallable ()
ShellCommandCallable
public ShellCommandCallable (ITestDevice device,
String command,
long timeout)
Paramètres |
---|
device | ITestDevice |
command | String |
timeout | long |
Méthodes publiques
Processus de sortie
public abstract V processOutput (String output)
définirDevice
public ShellCommandCallable<V> setDevice (ITestDevice device)
Paramètres |
---|
device | ITestDevice |