GCS구성공장

public class GCSConfigurationFactory
extends ConfigurationFactory

java.lang.Object
com.android.tradefed.config.ConfigurationFactory
com.android.tradefed.config.gcs.GCSConfigurationFactory


ConfigurationFactory 는 Google Cloud Storage에서 구성을 로드합니다.

요약

중첩 클래스

class GCSConfigurationFactory.GCSConfigLoader

GCS에서 구성을 로드하고, 하나의 루트 구성에서 포함된 구성을 추적하고, 순환 포함에 예외를 발생시키는 ConfigurationFactory.ConfigLoader 의 확장입니다.

공개 메소드

static IConfigurationFactory getInstance ( IConfigurationServer configServer)

싱글톤 IConfigurationFactory 인스턴스를 가져옵니다.

File getLatestDownloadedFile ()

보호된 방법

BufferedInputStream getConfigStream (String name)

Google Cloud Storage(GCS)에서 지정된 구성 이름에 대한 InputStream을 로드합니다.

ConfigurationDef getConfigurationDef (String name, boolean isGlobal, templateMap) getConfigurationDef (String name, boolean isGlobal, templateMap)

주어진 이름에 대한 ConfigurationDef 검색합니다.

공개 메소드

getInstance

public static IConfigurationFactory getInstance (IConfigurationServer configServer)

싱글톤 IConfigurationFactory 인스턴스를 가져옵니다.

매개변수
configServer IConfigurationServer

보고
IConfigurationFactory

get최신다운로드파일

public File getLatestDownloadedFile ()

보고
File

보호된 방법

getConfigStream

protected BufferedInputStream getConfigStream (String name)

Google Cloud Storage(GCS)에서 지정된 구성 이름에 대한 InputStream을 로드합니다.

매개변수
name String : 로드할 구성 이름

보고
BufferedInputStream 구성 콘텐츠를 읽기 위한 ERROR(/BufferedInputStream)

던지기
ConfigurationException 구성을 찾을 수 없는 경우

getConfigurationDef

protected ConfigurationDef getConfigurationDef (String name, 
                boolean isGlobal, 
                 templateMap)

주어진 이름에 대한 ConfigurationDef 검색합니다.

매개변수
name String : 로드할 내장 구성의 이름 또는 로드할 구성 파일의 파일 경로

isGlobal boolean

templateMap

보고
ConfigurationDef ConfigurationDef

던지기
ConfigurationException