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 הרחבה של |
שיטות ציבוריות | |
---|---|
static IConfigurationFactory | getInstance ( IConfigurationServer configServer) קבל את מופע ה- Singleton |
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)
קבל את מופע ה- Singleton 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-12-01 (שעון UTC).