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>