Uses of Interface
io.helidon.config.ConfigValue
Package
Description
Provides interfaces and classes for loading and working with immutable, tree-structured
configuration data.
-
Uses of ConfigValue in io.helidon.config
Modifier and TypeMethodDescription<T> ConfigValue<T>
Config.as
(GenericType<T> genericType) Typed value as aConfigValue
for a generic type.<T> ConfigValue<T>
Typed value as aConfigValue
.<T> ConfigValue<T>
Typed value as aConfigValue
created from factory method.<N> ConfigValue<N>
Convert thisConfigValue
to a different type using a mapper function.default ConfigValue<Boolean>
Config.asBoolean()
Boolean typed value.default ConfigValue<Double>
Config.asDouble()
Double typed value.default ConfigValue<Integer>
Config.asInt()
Integer typed value.<T> ConfigValue<List<T>>
Returns list of specified type.<T> ConfigValue<List<T>>
Returns this node as a list converting each list value using the provided mapper.default ConfigValue<Long>
Config.asLong()
Long typed value.Config.asMap()
Transform all leaf nodes (values) into Map instance.default ConfigValue<Config>
Config.asNode()
Returns existing current config node as aOptional
instance orOptional.empty()
in case ofConfig.Type.MISSING
node.Config.asNodeList()
Returns a list of childConfig
nodes if the node isConfig.Type.OBJECT
.default ConfigValue<String>
Config.asString()
String typed value.static <T> ConfigValue<T>
ConfigValues.empty()
Simple empty value that can be used e.g.static <T> ConfigValue<T>
ConfigValues.simpleValue
(T value) Simple value that can be used e.g.