DeviceConcurrentUtil.ShellCommandCallable

public static abstract class DeviceConcurrentUtil.ShellCommandCallable
extends Object

java.lang.অবজেক্ট
com.android.tradefed.util.DeviceConcurrentUtil.ShellCommandCallable<V>


একটি ERROR(/Callable) যা একটি ITestDevice এ শেল কমান্ড চালানোর বিশদ বিবরণ মোড়ানো হয়।

কমান্ড আউটপুট প্রক্রিয়া করতে এবং 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

প্রক্রিয়া আউটপুট

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>

সেট টাইমআউট

public ShellCommandCallable<V> setTimeout (long timeout)

পরামিতি
timeout long

রিটার্নস
ShellCommandCallable <V>