public interface StringConfigMap extends ConfigMap
ConfigMap.ConfigMapWithInheritance<TContainer>
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
asMapWithStringKeys()
returns a read-only map view which has string keys (corresponding to the config key names);
callers encouraged to use the typed keys (and so not use this method),
but in some compatibility areas having a Properties-like view is useful
|
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) |
StringConfigMap |
submap(<any> filter)
returns submap matching the given filter predicate; see ConfigPredicates for common predicates
|
findKeys, findKeysDeclared, findKeysPresent, getAllConfig, getAllConfigLocalRaw, getConfig, getConfig, getConfigLocalRaw, getConfigRaw, isEmpty, size
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
StringConfigMap submap(<any> filter)
java.util.Map<java.lang.String,java.lang.Object> asMapWithStringKeys()
asMapWithStringKeys
in interface ConfigMap