ConfigurationFactory.ExceptionLoader
protected class ConfigurationFactory.ExceptionLoader
extends ConfigurationFactory.ConfigLoader
סיכום
שיטות ציבוריות |
---|
ConfigurationDef | getConfigurationDef (String name, templateMap) getConfigurationDef (String name, templateMap) |
boolean | isBundledConfig (String name) מחזירה true אם מדובר בקובץ תצורה שנמצא בתוך ה-classpath. |
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)
מחזירה true אם מדובר בקובץ תצורה שנמצא בתוך ה-classpath.
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 : שם האב של config. |
החזרות |
---|
String | השם המלא של התצורה. |
isTrackableConfig
protected boolean isTrackableConfig (String name)
צריך לעקוב אחר מחזור החיים של התצורה או לא.
פרמטרים |
---|
name | String : שם התצורה |
החזרות |
---|
boolean | true אם התצורה ניתנת למעקב, אחרת false . |
trackConfig
protected void trackConfig (String name,
ConfigurationDef def)
תצורת מעקב לטעינה דינמית. כרגע רק קבצים מקומיים נתמכים.
פרמטרים |
---|
name | String : שם התצורה |
def | ConfigurationDef : ההגדרה של config. |