@Test void testHelidonMap() { Map<String, String> values = Map.of( "key.first", "first", "key.second", "second" ); org.eclipse.microprofile.config.spi.ConfigSource mpSource = MpConfigSources.create(ConfigSources.create(values).build()); assertThat(mpSource.getValue("key.first"), is("first")); assertThat(mpSource.getValue("key.second"), is("second")); }
public static ConfigSource create(String name, Map<String, String> theMap) { return new MpMapSource(name, theMap); }
MpConfigSources { public static ConfigSource create(String name, Map<String, String> theMap) { return new MpMapSource(name, theMap); } }
MpConfigSources { public static ConfigSource create(String name, Map<String, String> theMap) { return new MpMapSource(name, theMap); } private  MpConfigSources(); }
MpConfigSources { public static ConfigSource create(String name, Map<String, String> theMap) { return new MpMapSource(name, theMap); } private  MpConfigSources(); static ConfigSource create(String name, Map<String, String> theMap); static ConfigSource create(Map<String, String> theMap); static ConfigSource create(Path path); static ConfigSource create(URL url); static ConfigSource create(String name, Path path); static ConfigSource create(Properties properties); static ConfigSource create(String name, Properties properties); static ConfigSource environmentVariables(); static ConfigSource systemProperties(); static List<ConfigSource> classPath(String resource); static List<ConfigSource> classPath(ClassLoader classLoader, String resource); static ConfigSource create(io.helidon.config.spi.ConfigSource helidonConfigSource); static ConfigSource create(Config config); }
MpConfigSources { public static ConfigSource create(String name, Map<String, String> theMap) { return new MpMapSource(name, theMap); } private  MpConfigSources(); static ConfigSource create(String name, Map<String, String> theMap); static ConfigSource create(Map<String, String> theMap); static ConfigSource create(Path path); static ConfigSource create(URL url); static ConfigSource create(String name, Path path); static ConfigSource create(Properties properties); static ConfigSource create(String name, Properties properties); static ConfigSource environmentVariables(); static ConfigSource systemProperties(); static List<ConfigSource> classPath(String resource); static List<ConfigSource> classPath(ClassLoader classLoader, String resource); static ConfigSource create(io.helidon.config.spi.ConfigSource helidonConfigSource); static ConfigSource create(Config config);  }