DeviceConcurrentUtil.ShellCommandCallable

public static abstract class DeviceConcurrentUtil.ShellCommandCallable
extends Object

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


ERROR(/Callable) يلتف حول تفاصيل تنفيذ أمر shell على 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

ProcessOutput

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>