public class ConfigurationProperties
extends java.lang.Object
| Constructor | Description |
|---|---|
ConfigurationProperties(java.util.Map<java.lang.String,java.lang.String> props) |
A constructor defined in order to conform to the type used by
Configuration. |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getPropertiesWithPrefix(java.lang.String prefix) |
Filters all properties by a prefix.
|
java.util.Map<java.lang.String,java.lang.String> |
getPropertiesWithPrefix(java.lang.String prefix,
boolean fullyQualifiedKey) |
Filters all properties by a prefix.
|
public ConfigurationProperties(java.util.Map<java.lang.String,java.lang.String> props)
Configuration. It must only be called by String keys and values.props - properties to storepublic java.util.Map<java.lang.String,java.lang.String> getPropertiesWithPrefix(java.lang.String prefix)
prefix - prefix to filter property keyspublic java.util.Map<java.lang.String,java.lang.String> getPropertiesWithPrefix(java.lang.String prefix,
boolean fullyQualifiedKey)
prefix - prefix to filter property keysfullyQualifiedKey - whether collected property keys are to be trimmed
by the prefix, or must be kept as it isCopyright © 2008–2025 Apache Software Foundation. All rights reserved.