DeviceConcurrentUtil.ShellCommandCallable

public static abstract class DeviceConcurrentUtil.ShellCommandCallable
extends Object

java.lang.Nesne
com.android.tradefed.util.DeviceConcurrentUtil.ShellCommandCallable<V>


Bir ITestDevice üzerinde kabuk komutunu yürütmenin ayrıntılarını saran bir ERROR(/Callable) .

Komut çıktısını işlemek ve Callable geri dönüşünü belirlemek için processOutput(String) uygulanmalıdır.

Özet

Kamu inşaatçıları

ShellCommandCallable ()
ShellCommandCallable ( ITestDevice device, String command, long timeout)

Genel yöntemler

V call ()
abstract V processOutput (String output)
ShellCommandCallable <V> setCommand (String command)
ShellCommandCallable <V> setDevice ( ITestDevice device)
ShellCommandCallable <V> setTimeout (long timeout)

Kamu inşaatçıları

KabukKomutÇağırılabilir

public ShellCommandCallable ()

KabukKomutÇağırılabilir

public ShellCommandCallable (ITestDevice device, 
                String command, 
                long timeout)

parametreler
device ITestDevice

command String

timeout long

Genel yöntemler

aramak

public V call ()

İadeler
V

süreçÇıktı

public abstract V processOutput (String output)

parametreler
output String

İadeler
V

setKomut

public ShellCommandCallable<V> setCommand (String command)

parametreler
command String

İadeler
ShellCommandCallable <V>

setCihaz

public ShellCommandCallable<V> setDevice (ITestDevice device)

parametreler
device ITestDevice

İadeler
ShellCommandCallable <V>

setZaman aşımı

public ShellCommandCallable<V> setTimeout (long timeout)

parametreler
timeout long

İadeler
ShellCommandCallable <V>