컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
ConfigurationFactory.ExceptionLoader
protected
class
ConfigurationFactory.ExceptionLoader
extends ConfigurationFactory.ConfigLoader
요약
공개 메서드 |
ConfigurationDef
|
getConfigurationDef(String name, templateMap)
|
boolean
|
isBundledConfig(String name)
클래스 경로 내에 있는 구성 파일인 경우 true를 반환합니다.
|
void
|
loadConfiguration(String name, ConfigurationDef def, String deviceTagObject, templateMap, templateSeen)
|
void
|
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를 반환합니다.
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 |
구성의 전체 이름입니다. |
isTrackableConfig
protected boolean isTrackableConfig (String name)
구성의 수명 주기를 추적해야 하는지 여부입니다.
반환 값 |
boolean |
구성을 추적할 수 있는 경우 true 이고, 그렇지 않으면 false 입니다. |
trackConfig
protected void trackConfig (String name,
ConfigurationDef def)
동적 로드의 구성을 추적합니다. 현재 로컬 파일만 지원됩니다.
매개변수 |
name |
String : 구성 이름 |
def |
ConfigurationDef : 구성 정의입니다. |
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2024-11-23(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-11-23(UTC)"],[],[]]