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)

เพิ่มคำสั่งที่จะรันโดยผู้จัดเตรียม

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

รับคำสั่ง

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