public Config
A configuration holds information about how to configure specific rules.
| Modifier and Type | Interface and Description |
|---|---|
static class |
Config.Companion |
| Modifier and Type | Field and Description |
|---|---|
static Config.Companion |
Companion |
| Modifier and Type | Method and Description |
|---|---|
Config |
subConfig(java.lang.String key)
Tries to retrieve part of the configuration based on given key.
|
<T> T |
valueOrDefault(java.lang.String key,
T p)
Retrieves a sub configuration or value based on given key. If configuration property cannot be found
the specified default value is returned.
|
<T> T |
valueOrNull(java.lang.String key)
Retrieves a sub configuration or value based on given key.
If the configuration property cannot be found, null is returned.
|
static Config.Companion Companion
Config subConfig(java.lang.String key)
Tries to retrieve part of the configuration based on given key.
<T> T valueOrDefault(java.lang.String key,
T p)
Retrieves a sub configuration or value based on given key. If configuration property cannot be found the specified default value is returned.
<T> T valueOrNull(java.lang.String key)
Retrieves a sub configuration or value based on given key. If the configuration property cannot be found, null is returned.