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>