GCSConfigurationFactory
  public
  
  
  
  class
  GCSConfigurationFactory
  
  
  
  
    extends ConfigurationFactory
  
  
  
  
  
  
  
    
  A ConfigurationFactory loads configs from Google Cloud Storage.
Summary
| Nested classes | 
|---|
  
    
      | 
        
        
        
        
        class | GCSConfigurationFactory.GCSConfigLoaderExtension of ConfigurationFactory.ConfigLoaderthat 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.
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-03-08 UTC."],[],[]]