to top
interface

IConfigDefLoader

com.android.tradefed.config.IConfigDefLoader
Known Indirect Subclasses

Class Overview

Interface for retrieving a ConfigurationDef.

Summary

Public Methods
abstract ConfigurationDef getConfigurationDef(String name, Map<String, String> templateMap)
Retrieve the ConfigurationDef for the given name
abstract boolean isGlobalConfig()
abstract void loadIncludedConfiguration(ConfigurationDef def, String parentName, String name)
Load a config's data into the given ConfigurationDef

Public Methods

public abstract ConfigurationDef getConfigurationDef (String name, Map<String, String> templateMap)

Retrieve the ConfigurationDef for the given name

Parameters
templateMap Map: map of template-include names to configuration filenames
Returns
ConfigurationDef ConfigurationDef
Throws
ConfigurationException if an error occurred loading the config

public abstract boolean isGlobalConfig ()

Returns
boolean

public abstract void loadIncludedConfiguration (ConfigurationDef def, String parentName, String name)

Load a config's data into the given ConfigurationDef

Parameters
def ConfigurationDef: the ConfigurationDef to load the data into
parentName String: the name of the parent config
name String: the name of config to include
Returns
void ConfigurationDef
Throws
ConfigurationException if an error occurred loading the config