ConfigurationFactory.ExceptionLoader

protected class ConfigurationFactory.ExceptionLoader
extends ConfigurationFactory.ConfigLoader

java.lang.객체
com.android.tradefed.config.ConfigurationFactory.ConfigLoader
com.android.tradefed.config.ConfigurationFactory.ExceptionLoader


요약

공개 생성자

ExceptionLoader (boolean isGlobal)

공개 방법

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 내부에 번들로 제공되는 다른 구성만 포함할 수 있습니다.

보호된 메서드

String findConfigName (String name, String parentName)

이름과 상위 이름을 기반으로 구성 이름을 찾습니다.

boolean isTrackableConfig (String name)

구성의 수명 주기를 추적해야 하는지 여부.

void trackConfig (String name, ConfigurationDef def)

동적 로딩에 대한 구성을 추적합니다.

공개 생성자

예외로더

public ExceptionLoader (boolean isGlobal)

매개변수
isGlobal boolean

공개 방법

getConfigurationDef

public ConfigurationDef getConfigurationDef (String name, 
                 templateMap)

매개변수
name String

templateMap

보고
ConfigurationDef

던지기
ConfigurationException

isBundledConfig

public boolean isBundledConfig (String name)

클래스 경로 내부에 있는 구성 파일인 경우 true를 반환합니다.

매개변수
name String

보고
boolean

로드 구성

public void loadConfiguration (String name, 
                ConfigurationDef def, 
                String deviceTagObject, 
                 templateMap, 
                 templateSeen)

매개변수
name String

def ConfigurationDef

deviceTagObject String

templateMap

templateSeen

던지기
ConfigurationException

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

던지기
ConfigurationException

보호된 메서드

findConfigName

protected String findConfigName (String name, 
                String parentName)

이름과 상위 이름을 기반으로 구성 이름을 찾습니다. 이것은 번들 구성 및 로컬 구성을 올바르게 처리하는 데 사용됩니다.

매개변수
name String : 구성의 이름

parentName String : 구성의 부모 이름.

보고
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의 def.