GCSConfigurationFactory
public
class
GCSConfigurationFactory
extends ConfigurationFactory
java.lang.Object | ||
↳ | com.android.tradefed.config.ConfigurationFactory | |
↳ | com.android.tradefed.config.gcs.GCSConfigurationFactory |
ConfigurationFactory
, Google Cloud Storage'dan yapılandırmaları yükler.
Özet
İç içe yerleştirilmiş sınıflar | |
---|---|
class |
GCSConfigurationFactory.GCSConfigLoader
|
Herkese açık yöntemler | |
---|---|
static
IConfigurationFactory
|
getInstance(IConfigurationServer configServer)
Singleton |
File
|
getLatestDownloadedFile()
|
Korunan yöntemler | |
---|---|
BufferedInputStream
|
getConfigStream(String name)
Google Cloud Storage'dan(GCS) belirli bir yapılandırma adı için bir InputStream yükler. |
ConfigurationDef
|
getConfigurationDef(String name, boolean isGlobal,
Belirtilen ad için |
Herkese açık yöntemler
getInstance
public static IConfigurationFactory getInstance (IConfigurationServer configServer)
Singleton IConfigurationFactory
örneğini alın.
Parametreler | |
---|---|
configServer |
IConfigurationServer |
İlerlemeler | |
---|---|
IConfigurationFactory |
getLatestDownloadedFile
public File getLatestDownloadedFile ()
İlerlemeler | |
---|---|
File |
Korunan yöntemler
getConfigStream
protected BufferedInputStream getConfigStream (String name)
Google Cloud Storage'dan(GCS) belirli bir yapılandırma adı için bir InputStream yükler.
Parametreler | |
---|---|
name |
String : Yüklenecek yapılandırma adı |
İlerlemeler | |
---|---|
BufferedInputStream |
yapılandırma içeriğini okumak için bir ERROR(/BufferedInputStream) |
Atışlar | |
---|---|
ConfigurationException |
if config could not be found |
getConfigurationDef
protected ConfigurationDef getConfigurationDef (String name, boolean isGlobal,templateMap)
Belirtilen ad için ConfigurationDef
değerini alın
Parametreler | |
---|---|
name |
String : Yüklenecek yerleşik bir yapılandırmanın adı veya yüklenecek yapılandırma dosyasının dosya yolu |
isGlobal |
boolean |
templateMap |
|
İlerlemeler | |
---|---|
ConfigurationDef |
ConfigurationDef |
Atışlar | |
---|---|
ConfigurationException |