Source
interface Source
Content copied to clipboard
Source to provide values for config.
When config loads values from source, config will iterate all items in it, and retrieve value with path of each item from source. When source contains single value, a series of is operations can be used to judge the actual type of value, and to operation can be used to get the value with specified type. When source contains multiple value, contains operations can be used to check whether value(s) in specified path is in this source, and get operations can be used to retrieve the corresponding sub-source.
Types
Functions
contains
Link copied to clipboard
getNodeOrNull
Link copied to clipboard
open fun getNodeOrNull(path: Path, lowercased: Boolean = false, littleCamelCased: Boolean = true): TreeNode?
Content copied to clipboard
getOrNull
Link copied to clipboard
littleCamelCased
Link copied to clipboard
lowercased
Link copied to clipboard
normalized
Link copied to clipboard
open fun normalized(lowercased: Boolean = false, littleCamelCased: Boolean = true): Source
Content copied to clipboard
substituted
Link copied to clipboard
open fun substituted(root: Source = this, enabled: Boolean = true, errorWhenUndefined: Boolean = true): Source
Content copied to clipboard
withFallback
Link copied to clipboard
withPrefix
Link copied to clipboard
Properties
Inheritors
MergedSource
Link copied to clipboard
BaseSource
Link copied to clipboard
FlatSource
Link copied to clipboard
ValueSource
Link copied to clipboard
JsonSource
Link copied to clipboard
Extensions
Sources
jvm source
Link copied to clipboard