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 | |
로드포함구성
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)
구성의 수명 주기를 추적해야 합니다.
보고 |
---|
boolean | 구성을 추적할 수 있으면 true 이고, 그렇지 않으면 false . |
트랙 구성
protected void trackConfig (String name,
ConfigurationDef def)
동적 로딩에 대한 구성을 추적합니다. 현재는 로컬 파일만 지원됩니다.
매개변수 |
---|
name | String : 구성 이름 |
def | ConfigurationDef : 구성의 정의입니다. |