GCSConfigurationFactory

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 から構成をロードし、含まれている構成を 1 つのルート構成から追跡し、循環インクルードで例外をスローするConfigurationFactory.ConfigLoaderの拡張。

公開メソッド

static IConfigurationFactory getInstance ( IConfigurationServer configServer)

シングルトンIConfigurationFactoryインスタンスを取得します。

File getLatestDownloadedFile ()

保護されたメソッド

BufferedInputStream getConfigStream (String name)

指定された構成名の InputStream を Google Cloud Storage(GCS) から読み込みます。

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

getLatestDownloadedFile

public File getLatestDownloadedFile ()

戻り値
File

保護されたメソッド

getConfigStream

protected BufferedInputStream getConfigStream (String name)

指定された構成名の InputStream を Google Cloud Storage(GCS) から読み込みます。

パラメーター
name String : ロードする構成名

戻り値
BufferedInputStream構成コンテンツを読み取るためのERROR(/BufferedInputStream)

スロー
ConfigurationException設定が見つからなかった場合

getConfigurationDef

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

指定された名前のConfigurationDefを取得します

パラメーター
name String : ロードする組み込み構成の名前、またはロードする構成ファイルへのファイル パス

isGlobal boolean

templateMap

戻り値
ConfigurationDef ConfigurationDef

スロー
ConfigurationException