GCS構成ファクトリー
public class GCSConfigurationFactory
extends ConfigurationFactory
java.lang.オブジェクト | ||
↳ | 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) 指定された名前の |
パブリックメソッド
インスタンスの取得
public static IConfigurationFactory getInstance (IConfigurationServer configServer)
シングルトンIConfigurationFactory
インスタンスを取得します。
パラメーター | |
---|---|
configServer | IConfigurationServer |
戻り値 | |
---|---|
IConfigurationFactory |
最新ダウンロードファイルの取得
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-12-01 UTC。
[]
[]