DeviceConcurrentUtil.ShellCommandCallable
public static abstract class DeviceConcurrentUtil.ShellCommandCallable
extends Object
java.lang.Object |
↳ | com.android.tradefed.util.DeviceConcurrentUtil.ShellCommandCallable<V> |
ERROR(/Callable)
bao gồm các chi tiết về việc thực thi lệnh shell trên ITestDevice
.
Phải triển khai processOutput(String)
để xử lý đầu ra lệnh và xác định trả về của Callable
Bản tóm tắt
Nhà thầu xây dựng công cộng
ShellLệnhCó thể gọi được
public ShellCommandCallable ()
ShellLệnhCó thể gọi được
public ShellCommandCallable (ITestDevice device,
String command,
long timeout)
Thông số |
---|
device | ITestDevice |
command | String |
timeout | long |
Phương pháp công khai
quá trìnhĐầu ra
public abstract V processOutput (String output)
bộThiết bị
public ShellCommandCallable<V> setDevice (ITestDevice device)
Thông số |
---|
device | ITestDevice |