ConfigResolveOptions

org.ekrich.config.ConfigResolveOptions
See theConfigResolveOptions companion class

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.)

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

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.

Attributes

Returns

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).

Attributes

Returns

the resolve options with env variables disabled