DeviceConcurrentUtil.ShellCommandCallable

public static abstract class DeviceConcurrentUtil.ShellCommandCallable
extends Object

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


یک ERROR(/Callable) که جزئیات اجرای فرمان پوسته را در ITestDevice می‌پیچد.

باید processOutput(String) را برای پردازش خروجی فرمان و تعیین بازگشت Callable پیاده سازی کند

خلاصه

سازندگان عمومی

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

روش های عمومی

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

سازندگان عمومی

ShellCommandCallable

public ShellCommandCallable ()

ShellCommandCallable

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

مولفه های
device ITestDevice

command String

timeout long

روش های عمومی

زنگ زدن

public V call ()

برمی گرداند
V

خروجی پردازش

public abstract V processOutput (String output)

مولفه های
output String

برمی گرداند
V

setCommand

public ShellCommandCallable<V> setCommand (String command)

مولفه های
command String

برمی گرداند
ShellCommandCallable <V>

setDevice

public ShellCommandCallable<V> setDevice (ITestDevice device)

مولفه های
device ITestDevice

برمی گرداند
ShellCommandCallable <V>

setTimeout

public ShellCommandCallable<V> setTimeout (long timeout)

مولفه های
timeout long

برمی گرداند
ShellCommandCallable <V>