the configuration path
the value at the given key as a scala duration
the configuration as a json string
produces a scala list, either from a StringList or a comma-separated string value
produces a scala list, either from a StringList or a comma-separated string value
the config path
if specified, the value at the given path will be parsed if it is a string and not a stringlist
the configuration as a map
the configuration as a set of key/value tuples
the encrypted configuration
the configuration entries as a set of entries
the configuration representing the intersection of the two configuration entries
a sorted list of the origins from when the config values come
The available config roots.
The available config roots.
e.g. of a config has
foo.bar.x = 1 java.home = /etc/java bar.enabled = true bar.user = root
The 'pathRoots' would return a [bar, foo, java]
a sorted list of the root entries to the config.
all the unique paths for this configuration
If 'show=X' is specified, configuration values which contain X in their path will be displayed with the values matching 'obscure' obscured.
If 'show=X' is specified, configuration values which contain X in their path will be displayed with the values matching 'obscure' obscured.
If 'X' is 'all' or 'root', then the entire configuration is rendered.
This can be useful to debug other command-line args (to ensure they take the desired effect) or to validate the environment variable replacement
a function which takes a dotted configuration path and string value and returns the value to display
the optional value of what's pointed to if 'show=<path>' is specified
Return a property-like summary of the config using the pathFilter to trim property entries
Return a property-like summary of the config using the pathFilter to trim property entries
a function which will 'safely' replace any config values with an obscured value
a summary of the configuration
Return a property-like summary of the config using the 'obscure' function to mask sensitive entries
Return a property-like summary of the config using the 'obscure' function to mask sensitive entries
a function which will 'safely' replace any config values with an obscured value
the config as a map
And example which uses most of the below stuff to showcase what this is for Note : writing a 'diff' using this would be pretty straight forward
And example which uses most of the below stuff to showcase what this is for Note : writing a 'diff' using this would be pretty straight forward
this configuration which only contains the specified paths
the first path to include (keep)
any other paths to keep
this configuration which only contains the specified paths
Overlay the given arguments over this configuration, where the arguments are taken to be in the form:
Overlay the given arguments over this configuration, where the arguments are taken to be in the form:
$ the path to a configuration file, either on the classpath or file system $ a <key>=<value> pair where the key is a 'path.to.a.configuration.entry'
the user arguments in the form <key>=<value>, <filePath> or <fileOnTheClasspath>
what to do with malformed user input
a configuration with the given user-argument overrides applied over top
this config w/o the system properties or environment variables
this config w/o the system properties or environment variables
Adds some scala utility around a typesafe config