DeviceConcurrentUtil.ShellCommandCallable

public static abstract class DeviceConcurrentUtil.ShellCommandCallable
extends Object

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


ERROR(/Callable) yang menggabungkan detail eksekusi perintah shell di ITestDevice.

Harus mengimplementasikan processOutput(String) untuk memproses output perintah dan menentukan pengembalian Callable

Ringkasan

Konstruktor publik

ShellCommandCallable()
ShellCommandCallable(ITestDevice device, String command, long timeout)

Metode publik

V call()
abstract V processOutput(String output)
ShellCommandCallable<V> setCommand(String command)
ShellCommandCallable<V> setDevice(ITestDevice device)
ShellCommandCallable<V> setTimeout(long timeout)

Konstruktor publik

ShellCommandCallable

public ShellCommandCallable ()

ShellCommandCallable

public ShellCommandCallable (ITestDevice device, 
                String command, 
                long timeout)

Parameter
device ITestDevice

command String

timeout long

Metode publik

panggilan

public V call ()

Hasil
V

processOutput

public abstract V processOutput (String output)

Parameter
output String

Hasil
V

setCommand

public ShellCommandCallable<V> setCommand (String command)

Parameter
command String

Hasil
ShellCommandCallable<V>

setDevice

public ShellCommandCallable<V> setDevice (ITestDevice device)

Parameter
device ITestDevice

Hasil
ShellCommandCallable<V>

setTimeout

public ShellCommandCallable<V> setTimeout (long timeout)

Parameter
timeout long

Hasil
ShellCommandCallable<V>