FoldableHandler
public
class
FoldableHandler
extends Object
implements
IModuleParameterHandler
java.lang.Object | |
↳ | com.android.tradefed.testtype.suite.params.FoldableHandler |
通用可折叠设备处理程序,可接受可折叠设备参数以创建专用模块。
摘要
公共构造函数 | |
---|---|
FoldableHandler(String stateName, long identifier)
|
公共方法 | |
---|---|
void
|
addParameterSpecificConfig(IConfiguration moduleConfiguration)
添加了特定于参数需求的 |
void
|
applySetup(IConfiguration moduleConfiguration)
将参数专用模块设置应用于模块 |
String
|
getParameterIdentifier()
返回将用于标识参数化模块的名称。 |
公共构造函数
FoldableHandler
public FoldableHandler (String stateName, long identifier)
参数 | |
---|---|
stateName |
String |
identifier |
long |
公共方法
addParameterSpecificConfig
public void addParameterSpecificConfig (IConfiguration moduleConfiguration)
添加到 IConfiguration
中,以满足参数的具体需求。例如,在配置中插入或移除目标准备程序。
参数 | |
---|---|
moduleConfiguration |
IConfiguration :模块的 IConfiguration |
applySetup
public void applySetup (IConfiguration moduleConfiguration)
将参数专用模块设置应用于模块 IConfiguration
。例如,这可以是准备程序或测试的额外选项。
参数 | |
---|---|
moduleConfiguration |
IConfiguration |
getParameterIdentifier
public String getParameterIdentifier ()
返回将用于标识参数化模块的名称。
返回 | |
---|---|
String |