ConfigurationFactory.ExceptionLoader

protected class ConfigurationFactory.ExceptionLoader
extends ConfigurationFactory.ConfigLoader

java.lang.Object
   ↳ com.android.tradefed.config.ConfigurationFactory.ConfigLoader
     ↳ com.android.tradefed.config.ConfigurationFactory.ExceptionLoader


概要

パブリック コンストラクタ

ExceptionLoader(boolean isGlobal)

パブリック メソッド

ConfigurationDef getConfigurationDef(String name, templateMap)

boolean isBundledConfig(String name)

クラスパス内にある構成ファイルの場合は true を返します。

void loadConfiguration(String name, ConfigurationDef def, String deviceTagObject, templateMap, templateSeen)
void loadIncludedConfiguration(ConfigurationDef def, String parentName, String name, String deviceTagObject, templateMap, templateSeen)

tradefed.jar 内にバンドルされた構成には、tradefed.jar 内にバンドルされている他の構成のみを含めることができます。

保護されたメソッド

String findConfigName(String name, String parentName)

名前と親の名前に基づいて構成の名前を検索します。

boolean isTrackableConfig(String name)

構成のライフサイクルを追跡するかどうか。

void trackConfig(String name, ConfigurationDef def)

動的読み込みの設定をトラッキング。

パブリック コンストラクタ

ExceptionLoader

public ExceptionLoader (boolean isGlobal)

パラメータ
isGlobal boolean

パブリック メソッド

getConfigurationDef

public ConfigurationDef getConfigurationDef (String name, 
                 templateMap)

パラメータ
name String

templateMap

戻り値
ConfigurationDef

例外
ConfigurationException

isBundledConfig

public boolean isBundledConfig (String name)

クラスパス内にある構成ファイルの場合は true を返します。

パラメータ
name String

戻り値
boolean

loadConfiguration

public void loadConfiguration (String name, 
                ConfigurationDef def, 
                String deviceTagObject, 
                 templateMap, 
                 templateSeen)

パラメータ
name String

def ConfigurationDef

deviceTagObject String

templateMap

templateSeen

例外
ConfigurationException

loadIncludedConfiguration

public void loadIncludedConfiguration (ConfigurationDef def, 
                String parentName, 
                String name, 
                String deviceTagObject, 
                 templateMap, 
                 templateSeen)

tradefed.jar 内にバンドルされた構成には、tradefed.jar 内にバンドルされている他の構成のみを含めることができます。ただし、ローカル(外部)構成には、ローカル(外部)構成とバンドル構成の両方を含めることができます。

パラメータ
def ConfigurationDef

parentName String

name String

deviceTagObject String

templateMap

templateSeen

例外
ConfigurationException

保護されたメソッド

findConfigName

protected String findConfigName (String name, 
                String parentName)

名前と親の名前に基づいて構成の名前を検索します。これは、バンドル構成とローカル構成を適切に処理するために使用されます。

パラメータ
name String: config の名前

parentName String: config の親の名前。

戻り値
String 構成のフルネーム。

isTrackableConfig

protected boolean isTrackableConfig (String name)

構成のライフサイクルを追跡するかどうか。

パラメータ
name String: config の名前

戻り値
boolean 構成がトラッキング可能であれば true、そうでない場合は false

trackConfig

protected void trackConfig (String name, 
                ConfigurationDef def)

動的読み込みの設定をトラッキング。現在のところ、ローカル ファイルのみがサポートされています。

パラメータ
name String: config の名前

def ConfigurationDef: 構成のデフォルト。