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>

기기

public ShellCommandCallable<V> setDevice (ITestDevice device)

매개변수
device ITestDevice

반환 값
ShellCommandCallable<V>

setTimeout

public ShellCommandCallable<V> setTimeout (long timeout)

매개변수
timeout long

반환 값
ShellCommandCallable<V>