@Test public void testDescription() { ConfigSource configSource = ConfigSources.create(Map.of()).build(); assertThat(configSource.description(), is("MapConfig[map]")); }
public static MapConfigSource create(Map<String, String> map) { Objects.requireNonNull(map); return builder().map(map).build(); }
MapConfigSource extends AbstractConfigSource implements ConfigSource,
                                                                     NodeConfigSource,
                                                                     PollableSource<Map<?, ?>> { public static MapConfigSource create(Map<String, String> map) { Objects.requireNonNull(map); return builder().map(map).build(); } }
MapConfigSource extends AbstractConfigSource implements ConfigSource,
                                                                     NodeConfigSource,
                                                                     PollableSource<Map<?, ?>> { public static MapConfigSource create(Map<String, String> map) { Objects.requireNonNull(map); return builder().map(map).build(); } MapConfigSource(MapBuilder<?> builder); }
MapConfigSource extends AbstractConfigSource implements ConfigSource,
                                                                     NodeConfigSource,
                                                                     PollableSource<Map<?, ?>> { public static MapConfigSource create(Map<String, String> map) { Objects.requireNonNull(map); return builder().map(map).build(); } MapConfigSource(MapBuilder<?> builder); static Builder builder(); static MapConfigSource create(Map<String, String> map); static MapConfigSource create(Properties properties); @Override boolean isModified(Map<?, ?> stamp); @Override Optional<PollingStrategy> pollingStrategy(); @Override Optional<NodeContent> load(); }
MapConfigSource extends AbstractConfigSource implements ConfigSource,
                                                                     NodeConfigSource,
                                                                     PollableSource<Map<?, ?>> { public static MapConfigSource create(Map<String, String> map) { Objects.requireNonNull(map); return builder().map(map).build(); } MapConfigSource(MapBuilder<?> builder); static Builder builder(); static MapConfigSource create(Map<String, String> map); static MapConfigSource create(Properties properties); @Override boolean isModified(Map<?, ?> stamp); @Override Optional<PollingStrategy> pollingStrategy(); @Override Optional<NodeContent> load();  }