ConfigurationYamlParser
public
final
class
ConfigurationYamlParser
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.config.yaml.ConfigurationYamlParser |
用于 YAML 样式 Tradefed 配置的解析器
摘要
常量 | |
|---|---|
String |
DEPENDENCIES_KEY
|
String |
PRE_SETUP_ACTION_KEY
|
String |
TARGET_PREPARERS_KEY
|
String |
TESTS_KEY
|
公共构造函数 | |
|---|---|
ConfigurationYamlParser()
|
|
公共方法 | |
|---|---|
void
|
parse(ConfigurationDef configDef, String source, InputStream yamlInput, boolean createdAsModule)
解析器的主要入口点,用于将给定的 YAML 文件解析为 Trade Federation 对象。 |
常量
DEPENDENCIES_KEY
public static final String DEPENDENCIES_KEY
常量值: "dependencies"
PRE_SETUP_ACTION_KEY
public static final String PRE_SETUP_ACTION_KEY
常量值: "pre_setup_action"
TARGET_PREPARERS_KEY
public static final String TARGET_PREPARERS_KEY
常量值: "target_preparers"
TESTS_KEY
public static final String TESTS_KEY
常量值: “tests”
公共构造函数
ConfigurationYamlParser
public ConfigurationYamlParser ()
公共方法
parse
public void parse (ConfigurationDef configDef, String source, InputStream yamlInput, boolean createdAsModule)
解析器的主要入口点,用于将给定的 YAML 文件解析为 Trade Federation 对象。
| 抛出 | |
|---|---|
ConfigurationException |
|