ডিভাইসকনকারেন্টইউটিল.শেলকমান্ডকলেবল

public static abstract class DeviceConcurrentUtil.ShellCommandCallable
extends Object implements Callable<V>

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


একটি 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)

সরকারি নির্মাণকারী

শেলকমান্ডকলযোগ্য

public ShellCommandCallable ()

শেলকমান্ডকলযোগ্য

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

প্যারামিটার
device ITestDevice

command String

timeout long

জনসাধারণের পদ্ধতি

কল

public V call ()

ফেরত
V

নিক্ষেপ
Exception

প্রসেসআউটপুট

public abstract V processOutput (String output)

প্যারামিটার
output String

ফেরত
V

সেটকমান্ড

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>