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 つのルート構成から追跡し、循環インクルードで例外をスローする |
公開メソッド | |
---|---|
static IConfigurationFactory | getInstance ( IConfigurationServer configServer) シングルトン |
File | getLatestDownloadedFile () |
保護されたメソッド | |
---|---|
BufferedInputStream | getConfigStream (String name) 指定された構成名の InputStream を Google Cloud Storage(GCS) から読み込みます。 |
ConfigurationDef | getConfigurationDef (String name, boolean isGlobal, templateMap) getConfigurationDef (String name, boolean isGlobal, templateMap) 指定された名前の |
公開メソッド
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 |
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2023-03-30 UTC。
[]
[]