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

เมธอดสาธารณะ

addParameterSpecificConfig

public final void addParameterSpecificConfig (IConfiguration moduleConfiguration)

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

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

applySetup

public final void applySetup (IConfiguration moduleConfiguration)

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

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

getParameterIdentifier

public String getParameterIdentifier ()

แสดงชื่อที่ระบบจะระบุโมดูลที่มีพารามิเตอร์

คิกรีเทิร์น
String