DeviceConcurrentUtil.ShellCommandCallable
public
static
abstract
class
DeviceConcurrentUtil.ShellCommandCallable
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.util.DeviceConcurrentUtil.ShellCommandCallable<V> |
ITestDevice에서 셸 명령어 실행의 세부정보를 래핑하는 ERROR(/Callable)입니다.
명령어 출력을 처리하고 Callable의 반환을 결정하기 위해 processOutput(String)를 구현해야 합니다.
요약
공개 생성자 | |
|---|---|
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> |
|