DeviceConcurrentUtil.ShellCommandCallable
public static abstract class DeviceConcurrentUtil.ShellCommandCallable
extends Object
java.lang.Object |
↳ | com.android.tradefed.util.DeviceConcurrentUtil.ShellCommandCallable<V> |
Um ERROR(/Callable)
que agrupa os detalhes da execução do comando shell em um ITestDevice
.
Deve implementar processOutput(String)
para processar a saída do comando e determinar o retorno do Callable
Resumo
Construtores públicos
ShellCommandCallable
public ShellCommandCallable ()
ShellCommandCallable
public ShellCommandCallable (ITestDevice device,
String command,
long timeout)
Parâmetros |
---|
device | ITestDevice |
command | String |
timeout | long |
Métodos públicos
saída do processo
public abstract V processOutput (String output)
setDispositivo
public ShellCommandCallable<V> setDevice (ITestDevice device)
Parâmetros |
---|
device | ITestDevice |