ConfigurationFactory.ExceptionLoader
protected class ConfigurationFactory.ExceptionLoader
extends ConfigurationFactory.ConfigLoader
まとめ
公開メソッド |
---|
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 内にバンドルされている他の構成のみを含めることができます。 |
パブリック コンストラクター
例外ローダー
public ExceptionLoader (boolean isGlobal)
公開メソッド
getConfigurationDef
public ConfigurationDef getConfigurationDef (String name,
templateMap)
パラメーター |
---|
name | String |
templateMap | |
isBundledConfig
public boolean isBundledConfig (String name)
クラスパス内で見つかった構成ファイルである場合は true を返します。
ロード構成
public void loadConfiguration (String name,
ConfigurationDef def,
String deviceTagObject,
templateMap,
templateSeen)
パラメーター |
---|
name | String |
def | ConfigurationDef |
deviceTagObject | String |
templateMap | |
templateSeen | |
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 | |
保護されたメソッド
findConfigName
protected String findConfigName (String name,
String parentName)
その名前とその親の名前に基づいて構成の名前を見つけます。これは、バンドル構成とローカル構成を適切に処理するために使用されます。
パラメーター |
---|
name | String : 構成の名前 |
parentName | String : 構成の親の名前。 |
isTrackableConfig
protected boolean isTrackableConfig (String name)
構成のライフサイクルを追跡するかどうか。
パラメーター |
---|
name | String : 構成の名前 |
戻り値 |
---|
boolean | 構成が追跡可能な場合はtrue 、そうでない場合はfalse 。 |
トラック構成
protected void trackConfig (String name,
ConfigurationDef def)
動的読み込みの構成を追跡します。現在、ローカル ファイルのみがサポートされています。
パラメーター |
---|
name | String : 構成の名前 |
def | ConfigurationDef : 構成の定義。 |