RunCommandTargetPreparer

public class RunCommandTargetPreparer
extends BaseTargetPreparer

java.lang.অবজেক্ট
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.RunCommandTargetPreparer


সারসংক্ষেপ

পাবলিক কনস্ট্রাক্টর

RunCommandTargetPreparer ()

পাবলিক পদ্ধতি

final void addRunCommand (String cmd)

একটি কমান্ড যোগ করুন যা প্রস্তুতকারী দ্বারা চালিত হবে।

getCommands ()
getExecutedCommands ()
void setUp ( TestInformation testInfo)

void tearDown ( TestInformation testInfo, Throwable e)

সুরক্ষিত পদ্ধতি

ITestDevice getDevice ( TestInformation testInfo)

প্রস্তুতকারী প্রয়োগ করার জন্য ডিভাইসটি ফেরত দেয়।

পাবলিক কনস্ট্রাক্টর

RunCommandTargetPreparer

public RunCommandTargetPreparer ()

পাবলিক পদ্ধতি

addRunCommand

public final void addRunCommand (String cmd)

একটি কমান্ড যোগ করুন যা প্রস্তুতকারী দ্বারা চালিত হবে।

পরামিতি
cmd String

getCommands

public  getCommands ()

রিটার্নস

getExecutedCommands

public  getExecutedCommands ()

রিটার্নস

সেটআপ

public void setUp (TestInformation testInfo)

পরামিতি
testInfo TestInformation

নিক্ষেপ করে
DeviceNotAvailableException
TargetSetupError

টিয়ারডাউন

public void tearDown (TestInformation testInfo, 
                Throwable e)

পরামিতি
testInfo TestInformation

e Throwable

নিক্ষেপ করে
DeviceNotAvailableException

সুরক্ষিত পদ্ধতি

ডিভাইস পান

protected ITestDevice getDevice (TestInformation testInfo)

প্রস্তুতকারী প্রয়োগ করার জন্য ডিভাইসটি ফেরত দেয়।

রিটার্নস
ITestDevice প্রস্তুতকারক প্রয়োগ করার জন্য ডিভাইস।

নিক্ষেপ করে
com.android.tradefed.targetprep.TargetSetupError
TargetSetupError