ConfigurationFactory.ExceptionLoader
protected class ConfigurationFactory.ExceptionLoader
extends ConfigurationFactory.ConfigLoader
ملخص
الأساليب العامة |
---|
ConfigurationDef | getConfigurationDef (String name, templateMap) getConfigurationDef (String name, templateMap) |
boolean | isBundledConfig (String name) يعود صحيحًا إذا كان ملف تكوين موجودًا داخل مسار الفصل. |
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. |
المنشأت العامة
ExceptionLoader
public ExceptionLoader (boolean isGlobal)
الأساليب العامة
getConfigurationDef
public ConfigurationDef getConfigurationDef (String name,
templateMap)
حدود |
---|
name | String |
templateMap | |
isBundledConfig
public boolean isBundledConfig (String name)
يعود صحيحًا إذا كان ملف تكوين موجودًا داخل مسار الفصل.
loadConfiguration
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 : اسم أصل التكوين. |
عائدات |
---|
String | الاسم الكامل للتكوين. |
قابل للتتبع
protected boolean isTrackableConfig (String name)
يجب تتبع دورة حياة التكوين أم لا.
حدود |
---|
name | String : اسم التكوين |
عائدات |
---|
boolean | true إذا كان التكوين قابلاً للتتبع ، وإلا فهو false . |
المسار
protected void trackConfig (String name,
ConfigurationDef def)
تكوين المسار للتحميل الديناميكي. في الوقت الحالي يتم دعم الملفات المحلية فقط.
حدود |
---|
name | String : اسم التكوين |
def | ConfigurationDef : التكوين def. |