Returns the default resolve options.
Returns the default resolve options. By default the system environment will be used and unresolved substitutions are not allowed.
the default resolve options
Returns resolve options that disable any reference to "system" data (currently, this means environment variables).
Returns resolve options that disable any reference to "system" data (currently, this means environment variables).
the resolve options with env variables disabled
A set of options related to resolving substitutions. Substitutions use the
${foo.bar
syntax and are documented in the 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
:In addition to
ConfigResolveOptions#defaults
, there's a prebuiltConfigResolveOptions#noSystem
which avoids looking at any system environment variables or other external system information. (Right now, environment variables are the only example.)