예제 #1
0
 /**
  * set file names of property files to read
  *
  * @param fileNames one or more property file names
  * @return the instance of ConfigBuilder
  */
 public ConfigBuilder<T> withPropertiesFiles(String... fileNames) {
   propertyLoader.withBaseNames(Arrays.asList(fileNames));
   return this;
 }
예제 #2
0
 /**
  * Configures the Config Builder to load given properties files instead of those specified in the
  * config class.
  *
  * @param baseNames
  * @return the instance of ConfigBuilder
  */
 public ConfigBuilder<T> overridePropertiesFiles(List<String> baseNames) {
   propertyLoader.withBaseNames(baseNames);
   return this;
 }