DeviceConcurrentUtil.ShellCommandCallable

public static abstract class DeviceConcurrentUtil.ShellCommandCallable
extends Object

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


ITestDevice üzerinde kabuk komutunun yürütülmesiyle ilgili ayrıntıları sarmalayan bir ERROR(/Callable).

Komut çıkışını işlemek ve Callable değerinin döndürülüp döndürülmeyeceğini belirlemek için processOutput(String) uygulanmalıdır.

Özet

Herkese açık kurucular

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

Herkese açık yöntemler

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

Herkese açık kurucular

ShellCommandCallable

public ShellCommandCallable ()

ShellCommandCallable

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

Parametreler
device ITestDevice

command String

timeout long

Herkese açık yöntemler

call

public V call ()

İlerlemeler
V

processOutput

public abstract V processOutput (String output)

Parametreler
output String

İlerlemeler
V

setCommand

public ShellCommandCallable<V> setCommand (String command)

Parametreler
command String

İlerlemeler
ShellCommandCallable<V>

setDevice

public ShellCommandCallable<V> setDevice (ITestDevice device)

Parametreler
device ITestDevice

İlerlemeler
ShellCommandCallable<V>

setTimeout

public ShellCommandCallable<V> setTimeout (long timeout)

Parametreler
timeout long

İlerlemeler
ShellCommandCallable<V>