RunCommandTargetPreparer

public class RunCommandTargetPreparer
extends BaseTargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.RunCommandTargetPreparer


ملخّص

طُرق وضع التصميم العامة

RunCommandTargetPreparer()

الإجراءات العامة

final void addRunCommand(String cmd)

أضِف أمرًا سينفّذه المحضِّر.

List<String> getCommands()
List<String> 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 List<String> getCommands ()

المرتجعات
List<String>

getExecutedCommands

public List<String> getExecutedCommands ()

المرتجعات
List<String>

setUp

public void setUp (TestInformation testInfo)

المعلَمات
testInfo TestInformation

عمليات الطرح
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

المعلَمات
testInfo TestInformation

e Throwable

عمليات الطرح
DeviceNotAvailableException

طُرق محمية

getDevice

protected ITestDevice getDevice (TestInformation testInfo)

تعرِض هذه السمة الجهاز الذي سيتم تطبيق أداة التجهيز عليه.

المرتجعات
ITestDevice الجهاز الذي سيتم تطبيق أداة الإعداد عليه.

عمليات الطرح
com.android.tradefed.targetprep.TargetSetupError
TargetSetupError