GCSConfigurationFactory
public
class
GCSConfigurationFactory
extends ConfigurationFactory
A ConfigurationFactory
loads configs from Google Cloud Storage.
Summary
Nested classes |
class |
GCSConfigurationFactory.GCSConfigLoader
Extension of ConfigurationFactory.ConfigLoader that loads
config from GCS, tracks the included configurations from one root config, and throws an
exception on circular includes.
|
Public methods
getLatestDownloadedFile
public File getLatestDownloadedFile ()
Protected methods
getConfigStream
protected BufferedInputStream getConfigStream (String name)
Loads an InputStream for given config name from Google Cloud Storage(GCS).
Parameters |
name |
String : the configuration name to load |
getConfigurationDef
protected ConfigurationDef getConfigurationDef (String name,
boolean isGlobal,
templateMap)
Retrieve the ConfigurationDef
for the given name
Parameters |
name |
String : the name of a built-in configuration to load or a file path to configuration file
to load |
isGlobal |
boolean |
templateMap |
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-03-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2023-03-08 UTC."}