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) getConfigurationDef (String name, templateMap)

boolean isBundledConfig (String name)

クラスパス内で見つかった構成ファイルである場合は true を返します。

void loadConfiguration (String name, ConfigurationDef def, String deviceTagObject, templateMap, templateSeen) loadConfiguration (String name, ConfigurationDef def, String deviceTagObject, templateMap, templateSeen) loadConfiguration (String name, ConfigurationDef def, String deviceTagObject, templateMap, templateSeen)
void loadIncludedConfiguration ( ConfigurationDef def, String parentName, String name, String deviceTagObject, templateMap, templateSeen) loadIncludedConfiguration ( ConfigurationDef def, String parentName, String name, String deviceTagObject, templateMap, templateSeen) 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)

動的読み込みの構成を追跡します。

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

例外ローダー

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

ロード構成

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 : 構成の名前

parentName String : 構成の親の名前。

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

isTrackableConfig

protected boolean isTrackableConfig (String name)

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

パラメーター
name String : 構成の名前

戻り値
boolean構成が追跡可能な場合はtrue 、そうでない場合はfalse

トラック構成

protected void trackConfig (String name, 
                ConfigurationDef def)

動的読み込みの構成を追跡します。現在、ローカル ファイルのみがサポートされています。

パラメーター
name String : 構成の名前

def ConfigurationDef : 構成の定義。