@Test void rawValueEquals() { SmallRyeConfig config = new SmallRyeConfigBuilder().withSources(config("my.prop", "1234")).build(); assertTrue(config.rawValueEquals("my.prop", "1234")); assertFalse(config.rawValueEquals("my.prop", "0")); }
public boolean rawValueEquals(String name, String expected) { return Objects.equals(expected, getRawValue(name)); }
SmallRyeConfig implements Config, Serializable { public boolean rawValueEquals(String name, String expected) { return Objects.equals(expected, getRawValue(name)); } }
SmallRyeConfig implements Config, Serializable { public boolean rawValueEquals(String name, String expected) { return Objects.equals(expected, getRawValue(name)); } SmallRyeConfig(SmallRyeConfigBuilder builder, ConfigMappings mappings); @Deprecated protected  SmallRyeConfig(List<ConfigSource> configSources, Map<Type, Converter<?>> converters); }
SmallRyeConfig implements Config, Serializable { public boolean rawValueEquals(String name, String expected) { return Objects.equals(expected, getRawValue(name)); } SmallRyeConfig(SmallRyeConfigBuilder builder, ConfigMappings mappings); @Deprecated protected  SmallRyeConfig(List<ConfigSource> configSources, Map<Type, Converter<?>> converters); C getValues(String name, Class<T> itemClass, IntFunction<C> collectionFactory); C getValues(String name, Converter<T> converter, IntFunction<C> collectionFactory); @Override T getValue(String name, Class<T> aClass); @SuppressWarnings("unchecked") T getValue(String name, Converter<T> converter); boolean rawValueEquals(String name, String expected); @Experimental("Extension to the original ConfigSource to allow retrieval of additional metadata on config lookup") ConfigValue getConfigValue(String name); String getRawValue(String name); @Override Optional<T> getOptionalValue(String name, Class<T> aClass); Optional<T> getOptionalValue(String name, Converter<T> converter); Optional<C> getOptionalValues(String name, Class<T> itemClass,
            IntFunction<C> collectionFactory); Optional<C> getOptionalValues(String name, Converter<T> converter,
            IntFunction<C> collectionFactory); ConfigMappings getConfigMappings(); @Experimental("ConfigMapping API to group configuration properties") T getConfigMapping(Class<T> type); @Experimental("ConfigMapping API to group configuration properties") T getConfigMapping(Class<T> type, String prefix); @Override Iterable<String> getPropertyNames(); @Override Iterable<ConfigSource> getConfigSources(); @Deprecated void addConfigSource(ConfigSource configSource); T convert(String value, Class<T> asType); @SuppressWarnings("unchecked") Converter<T> getConverter(Class<T> asType); }
SmallRyeConfig implements Config, Serializable { public boolean rawValueEquals(String name, String expected) { return Objects.equals(expected, getRawValue(name)); } SmallRyeConfig(SmallRyeConfigBuilder builder, ConfigMappings mappings); @Deprecated protected  SmallRyeConfig(List<ConfigSource> configSources, Map<Type, Converter<?>> converters); C getValues(String name, Class<T> itemClass, IntFunction<C> collectionFactory); C getValues(String name, Converter<T> converter, IntFunction<C> collectionFactory); @Override T getValue(String name, Class<T> aClass); @SuppressWarnings("unchecked") T getValue(String name, Converter<T> converter); boolean rawValueEquals(String name, String expected); @Experimental("Extension to the original ConfigSource to allow retrieval of additional metadata on config lookup") ConfigValue getConfigValue(String name); String getRawValue(String name); @Override Optional<T> getOptionalValue(String name, Class<T> aClass); Optional<T> getOptionalValue(String name, Converter<T> converter); Optional<C> getOptionalValues(String name, Class<T> itemClass,
            IntFunction<C> collectionFactory); Optional<C> getOptionalValues(String name, Converter<T> converter,
            IntFunction<C> collectionFactory); ConfigMappings getConfigMappings(); @Experimental("ConfigMapping API to group configuration properties") T getConfigMapping(Class<T> type); @Experimental("ConfigMapping API to group configuration properties") T getConfigMapping(Class<T> type, String prefix); @Override Iterable<String> getPropertyNames(); @Override Iterable<ConfigSource> getConfigSources(); @Deprecated void addConfigSource(ConfigSource configSource); T convert(String value, Class<T> asType); @SuppressWarnings("unchecked") Converter<T> getConverter(Class<T> asType);  }