public interface StringConfigMap extends ConfigMap
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFirst(java.util.Map flags,
java.lang.String... keys)
returns the value of the first key which is defined
|
java.lang.String |
getFirst(java.lang.String... keys) |
asMapWithStringKeys, getAllConfig, getConfig, getConfig, getConfig, getConfig, getConfigRaw, getRawConfig, isEmpty, size, submap
java.lang.String getFirst(java.lang.String... keys)
getFirst(java.util.Map, String...)
java.lang.String getFirst(java.util.Map flags, java.lang.String... keys)
takes the following flags: 'warnIfNone' or 'failIfNone' (both taking a boolean (to use default message) or a string (which is the message)); and 'defaultIfNone' (a default value to return if there is no such property); defaults to no warning and null default value