java.lang.Object
io.helidon.config.ConfigValues
Factory for config values.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ConfigValue
<T> empty()
Simple empty value that can be used e.g.static <T> ConfigValue
<T> simpleValue
(T value) Simple value that can be used e.g.
-
Method Details
-
empty
Simple empty value that can be used e.g. for unit testing. All ConfigValues use equals method that only cares about the optional value.- Type Parameters:
T
- type of the value- Returns:
- a config value that is empty
-
simpleValue
Simple value that can be used e.g. for unit testing. All ConfigValues use equals method that only cares about the optional value.- Type Parameters:
T
- type of the value- Parameters:
value
- value to use- Returns:
- a config value that uses the value provided
-