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
if true expand arrays with '.[x]' syntax
the configuration entries as a set of entries
a predicate used to determine if the configuration path should be kept
a new configuration which just keeps the paths which include the provided path predicate
a predicate used to determine if the configuration path should be kept
a new configuration which just keeps the paths which do NOT include the provided path predicate
the config path
true if the config path is set in this config to a non-empty value. This will error if the path specified is an object or a list
the configuration representing the intersection of the two configuration entries
a sorted list of the origins from when the config values come
the configuration (as a string) which should override this config -- essentially the inverse of 'withFallback'
a new configuration based on 'configString' with our config as a fallback
the configuration (as a string) which should override this config -- essentially the inverse of 'withFallback'
a new configuration based on 'configString' with our config as a fallback
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
the config path
the value to set
a new configuration based on 'configString' with our config as a fallback
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
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
the paths to remove
a new configuration with the given paths removed
the first path to remove
the remaining paths to remove
a new configuration with the given paths removed
the configuration to remove from this config
a new configuration with all values from 'other' removed
Exposes new operations on a 'config'