-
Method Summary
Modifier and Type |
Method |
Description |
java.lang.String |
get(java.lang.String key) |
Get the value associated with a key.
|
java.lang.String |
prefix() |
|
default void |
requireValid() |
|
default Validated<?> |
validate() |
Validate configuration.
|
-
Method Details
-
prefix
java.lang.String prefix()
-
get
@Nullable
java.lang.String get(
java.lang.String key)
Get the value associated with a key.
- Parameters:
key
- Key to lookup in the config.
- Returns:
- Value for the key or null if no key is present.
-
validate
Validate configuration.
- Returns:
- validation result
- Since:
- 1.5.0
-