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)
يُرجع صحيحًا إذا كان ملف تكوين موجودًا داخل مسار الفصل.
تكوين التحميل
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 | الاسم الكامل للتكوين. |
isTrackableConfig
protected boolean isTrackableConfig (String name)
يجب أن تتبع دورة حياة التكوين أم لا.
حدود |
---|
name | String : اسم التكوين |
عائدات |
---|
boolean | true إذا كان التكوين قابلاً للتتبع، وإلا فهو false . |
com.trackConfig
protected void trackConfig (String name,
ConfigurationDef def)
تتبع التكوين للتحميل الديناميكي. في الوقت الحالي يتم دعم الملفات المحلية فقط.
حدود |
---|
name | String : اسم التكوين |
def | ConfigurationDef : تعريف التكوين. |