SecondaryUserHandler

public class SecondaryUserHandler
extends Object implements IModuleParameterHandler

java.lang.Object
com.android.tradefed.testtype.suite.params.SecondaryUserHandler


ตัวจัดการสำหรับ ModuleParameters#SECONDARY_USER

สรุป

ผู้รับเหมาก่อสร้างสาธารณะ

SecondaryUserHandler ()

ตัวสร้างที่ได้รับการคุ้มครอง

SecondaryUserHandler (boolean startUserVisibleOnBackground)
SecondaryUserHandler (boolean startUserVisibleOnBackground, Integer displayId)

วิธีการสาธารณะ

final void addParameterSpecificConfig ( IConfiguration moduleConfiguration)

เพิ่มไปยัง IConfiguration ด้วยความต้องการเฉพาะของพารามิเตอร์

final void applySetup ( IConfiguration moduleConfiguration)

ใช้กับโมดูล IConfiguration การตั้งค่าโมดูลเฉพาะพารามิเตอร์

String getParameterIdentifier ()

ส่งกลับชื่อที่โมดูลที่กำหนดพารามิเตอร์จะถูกระบุเป็น

ผู้รับเหมาก่อสร้างสาธารณะ

SecondaryUserHandler

public SecondaryUserHandler ()

ตัวสร้างที่ได้รับการคุ้มครอง

SecondaryUserHandler

protected SecondaryUserHandler (boolean startUserVisibleOnBackground)

พารามิเตอร์
startUserVisibleOnBackground boolean

SecondaryUserHandler

protected SecondaryUserHandler (boolean startUserVisibleOnBackground, 
                Integer displayId)

พารามิเตอร์
startUserVisibleOnBackground boolean

displayId Integer

วิธีการสาธารณะ

เพิ่มพารามิเตอร์เฉพาะการกำหนดค่า

public final void addParameterSpecificConfig (IConfiguration moduleConfiguration)

เพิ่มไปยัง IConfiguration ด้วยความต้องการเฉพาะของพารามิเตอร์ ตัวอย่างเช่น แทรกหรือลบผู้จัดเตรียมเป้าหมายออกจากการกำหนดค่า

พารามิเตอร์
moduleConfiguration IConfiguration : IConfiguration ของโมดูล

ใช้การตั้งค่า

public final void applySetup (IConfiguration moduleConfiguration)

ใช้กับโมดูล IConfiguration การตั้งค่าโมดูลเฉพาะพารามิเตอร์ ตัวอย่างเช่น นี่อาจเป็นตัวเลือกเพิ่มเติมสำหรับผู้จัดเตรียมหรือการทดสอบ

พารามิเตอร์
moduleConfiguration IConfiguration

รับParameterIdentifier

public String getParameterIdentifier ()

ส่งกลับชื่อที่โมดูลที่กำหนดพารามิเตอร์จะถูกระบุเป็น

การส่งคืน
String