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 |
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> |