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, Map<String, String> templateMap)

boolean isBundledConfig(String name)

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

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

パラメータ
name String

templateMap Map

戻り値
ConfigurationDef

例外
ConfigurationException

isBundledConfig

public boolean isBundledConfig (String name)

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

パラメータ
name String

戻り値
boolean

loadConfiguration

public void loadConfiguration (String name, 
                ConfigurationDef def, 
                String deviceTagObject, 
                Map<String, String> templateMap, 
                Set<String> templateSeen)

パラメータ
name String

def ConfigurationDef

deviceTagObject String

templateMap Map

templateSeen Set

例外
ConfigurationException

loadIncludedConfiguration

public void loadIncludedConfiguration (ConfigurationDef def, 
                String parentName, 
                String name, 
                String deviceTagObject, 
                Map<String, String> templateMap, 
                Set<String> templateSeen)

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

パラメータ
def ConfigurationDef

parentName String

name String

deviceTagObject String

templateMap Map

templateSeen Set

例外
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

trackConfig

protected void trackConfig (String name, 
                ConfigurationDef def)

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

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

def ConfigurationDef: 構成の定義。