A set of options related to resolving substitutions. Substitutions use the
${foo.bar
syntax and are documented in the
HOCON">spec.
A set of options related to resolving substitutions. Substitutions use the
${foo.bar
syntax and are documented in the
HOCON">spec.
Typically this class would be used with the method Config.resolve(ConfigResolveOptions).
This object is immutable, so the "setters" return a new object.
Here is an example of creating a custom ConfigResolveOptions
:
ConfigResolveOptions options = ConfigResolveOptions.defaults() .setUseSystemEnvironment(false)
In addition to [[ConfigResolveOptions#defaults]]
, there's a prebuilt
[[ConfigResolveOptions#noSystem]]
which avoids looking at any system
environment variables or other external system information. (Right now,
environment variables are the only example.)
- Companion
- class
Value members
Concrete methods
Returns the default resolve options. By default the system environment will be used and unresolved substitutions are not allowed.
Returns the default resolve options. By default the system environment will be used and unresolved substitutions are not allowed.
- Returns
the default resolve options