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)

공개 생성자

ShellCommand호출 가능

public ShellCommandCallable ()

ShellCommand호출 가능

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

set명령

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>