@Test public void testLoadMultipleSource() { System.setProperty(TEST_SYS_PROP_NAME, TEST_SYS_PROP_VALUE); ConfigSource meta1 = ConfigSources.create( ObjectNode.builder() .addList("sources", ListNode.builder() .addObject(ObjectNode.builder() .addValue("type", "classpath") .addObject("properties", ObjectNode.builder() .addValue("resource", "io/helidon/config/application.properties") .build()) .build()) .build()) .build()); }
public static ConfigSource create(Config config) { return ConfigSources.create(config.asMap().get()).get(); }
ConfigSources { public static ConfigSource create(Config config) { return ConfigSources.create(config.asMap().get()).get(); } }
ConfigSources { public static ConfigSource create(Config config) { return ConfigSources.create(config.asMap().get()).get(); } private  ConfigSources(); }
ConfigSources { public static ConfigSource create(Config config) { return ConfigSources.create(config.asMap().get()).get(); } private  ConfigSources(); static ConfigSource empty(); static ConfigSource create(Config config); static NodeConfigSource create(ConfigNode.ObjectNode objectNode); static ConfigSource create(InputStream data, String mediaType); static ConfigSource create(String content, String mediaType); static MapConfigSource.Builder create(Map<String, String> map); static MapConfigSource.Builder create(Map<String, String> map, String name); static MapConfigSource.Builder create(Properties properties); static MapConfigSource.Builder create(Properties properties, String name); static ConfigSource prefixed(String key, Supplier<? extends ConfigSource> sourceSupplier); static SystemPropertiesConfigSource.Builder systemProperties(); static MapConfigSource environmentVariables(); static ClasspathConfigSource.Builder classpath(String resource); static List<UrlConfigSource.Builder> classpathAll(String resource); static FileConfigSource.Builder file(String path); static FileConfigSource.Builder file(Path path); static DirectoryConfigSource.Builder directory(String path); static UrlConfigSource.Builder url(URL url); }
ConfigSources { public static ConfigSource create(Config config) { return ConfigSources.create(config.asMap().get()).get(); } private  ConfigSources(); static ConfigSource empty(); static ConfigSource create(Config config); static NodeConfigSource create(ConfigNode.ObjectNode objectNode); static ConfigSource create(InputStream data, String mediaType); static ConfigSource create(String content, String mediaType); static MapConfigSource.Builder create(Map<String, String> map); static MapConfigSource.Builder create(Map<String, String> map, String name); static MapConfigSource.Builder create(Properties properties); static MapConfigSource.Builder create(Properties properties, String name); static ConfigSource prefixed(String key, Supplier<? extends ConfigSource> sourceSupplier); static SystemPropertiesConfigSource.Builder systemProperties(); static MapConfigSource environmentVariables(); static ClasspathConfigSource.Builder classpath(String resource); static List<UrlConfigSource.Builder> classpathAll(String resource); static FileConfigSource.Builder file(String path); static FileConfigSource.Builder file(Path path); static DirectoryConfigSource.Builder directory(String path); static UrlConfigSource.Builder url(URL url);  }