Google is committed to advancing racial equity for Black communities. See how.
本頁面由 Cloud Translation API 翻譯而成。
Switch to English

配置YamlParser

public final class ConfigurationYamlParser
extends Object

java.lang.Object
com.android.tradefed.config.yaml.ConfigurationYamlParser


YAML樣式Tradefed配置的解析器

概要

領域

public static final String DEPENDENCIES_KEY

public static final String POST_SETUP_ACTION_KEY

public static final String PRE_SETUP_ACTION_KEY

public static final 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

POST_SETUP_ACTION_KEY

public static final String POST_SETUP_ACTION_KEY

PRE_SETUP_ACTION_KEY

public static final String PRE_SETUP_ACTION_KEY

TESTS_KEY

public static final String TESTS_KEY

公共建設者

配置YamlParser

public ConfigurationYamlParser ()

公開方法

解析

public void parse (ConfigurationDef configDef, 
                String source, 
                InputStream yamlInput, 
                boolean createdAsModule)

解析器的主要入口點,用於將給定的YAML文件解析為Trade Federation對象。

投擲
ConfigurationException