Index
All Classes and Interfaces|All Packages|Serialized Form
A
- as(Class<T>) - Method in interface io.helidon.common.config.Config
-
Typed value as a
ConfigValue. - as(Function<T, N>) - Method in interface io.helidon.common.config.ConfigValue
-
Convert this
ConfigValueto a different type using a mapper function. - asBoolean() - Method in interface io.helidon.common.config.Config
-
Boolean typed value.
- asDouble() - Method in interface io.helidon.common.config.Config
-
Double typed value.
- asInt() - Method in interface io.helidon.common.config.Config
-
Integer typed value.
- asList(Class<T>) - Method in interface io.helidon.common.config.Config
-
Returns list of specified type.
- asLong() - Method in interface io.helidon.common.config.Config
-
Long typed value.
- asMap() - Method in interface io.helidon.common.config.Config
-
Transform all leaf nodes (values) into Map instance.
- asOptional() - Method in interface io.helidon.common.config.ConfigValue
-
Returns a typed value as
Optional. - asString() - Method in interface io.helidon.common.config.Config
-
String typed value.
C
- child(Config.Key) - Method in interface io.helidon.common.config.Config.Key
-
Create a child key to the current key.
- Config - Interface in io.helidon.common.config
-
Immutable tree-structured configuration.
- Config.Key - Interface in io.helidon.common.config
-
Object represents fully-qualified key of config node.
- ConfigException - Exception Class in io.helidon.common.config
-
Exception is thrown by
Configimplementations. - ConfigException(String) - Constructor for exception class io.helidon.common.config.ConfigException
-
Constructor with the detailed message.
- ConfigException(String, Throwable) - Constructor for exception class io.helidon.common.config.ConfigException
-
Constructor with the detailed message.
- ConfigValue<T> - Interface in io.helidon.common.config
-
A typed value of a
Confignode.
D
- detach() - Method in interface io.helidon.common.config.Config
-
Returns a copy of the
Confignode with no parent.
E
- escapeName(String) - Static method in interface io.helidon.common.config.Config.Key
-
Escape
'~'to~0and'.'to~1in specified name. - exists() - Method in interface io.helidon.common.config.Config
-
Returns
trueif the node exists, whether an object, a list, a value node, etc.
F
- filter(Predicate<? super T>) - Method in interface io.helidon.common.config.ConfigValue
-
If a value is present, and the value matches the given predicate, return an
Optionaldescribing the value, otherwise return an emptyOptional. - flatMap(Function<? super T, Optional<U>>) - Method in interface io.helidon.common.config.ConfigValue
-
If a value is present, apply the provided
Optional-bearing mapping function to it, return that result, otherwise return an emptyOptional.
G
- get() - Method in interface io.helidon.common.config.ConfigValue
-
Typed value of the represented
Confignode. - get(Config.Key) - Method in interface io.helidon.common.config.Config
-
Returns the single sub-node for the specified sub-key.
- get(String) - Method in interface io.helidon.common.config.Config
-
Returns the single sub-node for the specified sub-key.
H
- hasValue() - Method in interface io.helidon.common.config.Config
-
Returns
trueif this configuration node has a direct value.
I
- ifPresent(Consumer<? super T>) - Method in interface io.helidon.common.config.ConfigValue
-
If a value is present, invoke the specified consumer with the value, otherwise do nothing.
- ifPresentOrElse(Consumer<T>, Runnable) - Method in interface io.helidon.common.config.ConfigValue
-
If a value is present, performs the given action with the value, otherwise performs the given empty-based action.
- io.helidon.common.config - module io.helidon.common.config
-
Helidon Common Config Library.
- io.helidon.common.config - package io.helidon.common.config
-
Provides the minimal set of types for immutable, tree-structured configuration access.
- isLeaf() - Method in interface io.helidon.common.config.Config
-
Returns
trueif this node exists and is a leaf node (has no children). - isList() - Method in interface io.helidon.common.config.Config
-
Returns
trueif this node exists and is Type#List. - isObject() - Method in interface io.helidon.common.config.Config
-
Returns
trueif this node exists and is Type#Object. - isPresent() - Method in interface io.helidon.common.config.ConfigValue
-
Return
trueif there is a value present, otherwisefalse. - isRoot() - Method in interface io.helidon.common.config.Config.Key
-
Returns
truein case the key represents root config node, otherwise it returnsfalse.
K
- key() - Method in interface io.helidon.common.config.Config
-
Returns the fully-qualified key of the
Confignode. - key() - Method in interface io.helidon.common.config.ConfigValue
-
Returns the fully-qualified key of the originating
Confignode.
M
- map(Function<? super T, ? extends U>) - Method in interface io.helidon.common.config.ConfigValue
-
If a value is present, apply the provided mapping function to it, and if the result is non-null, return an
Optionaldescribing the result. - map(Function<Config, T>) - Method in interface io.helidon.common.config.Config
-
Typed value as a
ConfigValuecreated from factory method.
N
- name() - Method in interface io.helidon.common.config.Config.Key
-
Returns the name of Config node.
- name() - Method in interface io.helidon.common.config.Config
-
Returns the last token of the fully-qualified key for the
Confignode. - name() - Method in interface io.helidon.common.config.ConfigValue
-
Returns the last token of the fully-qualified key for the originating
Confignode.
O
- orElse(T) - Method in interface io.helidon.common.config.ConfigValue
-
Return the value if present, otherwise return
other. - orElseGet(Supplier<? extends T>) - Method in interface io.helidon.common.config.ConfigValue
-
Return the value if present, otherwise invoke
otherand return the result of that invocation. - orElseThrow(Supplier<? extends X>) - Method in interface io.helidon.common.config.ConfigValue
-
Return the contained value, if present, otherwise throw an exception to be created by the provided supplier.
P
- parent() - Method in interface io.helidon.common.config.Config.Key
-
Returns instance of Key that represents key of parent config node.
S
- stream() - Method in interface io.helidon.common.config.ConfigValue
-
If a value is present, returns a sequential
Streamcontaining only that value, otherwise returns an emptyStream.
T
- toString() - Method in interface io.helidon.common.config.Config.Key
-
Returns formatted fully-qualified key.
U
- unescapeName(String) - Static method in interface io.helidon.common.config.Config.Key
-
Unescape
~0to'~'and~1to'.'in specified escaped name.
All Classes and Interfaces|All Packages|Serialized Form