public interface DynamicPropertyMap
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getCustomProperties(String key)
Gets the key value pair(s) of a custom property as a map with the given key and any overrides applied.
|
String |
getProperty(String key)
Gets the String value (String.valueOf) of the Operation Property with the given key and any overrides applied.
|
String |
getProperty(String key,
String defaultValue)
Gets the String value (String.valueOf) of the Operation Property with the given key and any overrides applied,
returning the defaultValue if the located property value is blank (
null or all characters are
whitespace). |
String getProperty(String key)
BrowseContext.getOperationProperties()
key
- key of the desired propertynull
if not foundString getProperty(String key, String defaultValue)
null
or all characters are
whitespace). Any Operation Property of type String, Integer or Boolean, that can be overridden should be obtained
from this Map, all others should be obtained from BrowseContext.getOperationProperties()
key
- key of the desired propertydefaultValue
- value to return if property value is blankMap<String,String> getCustomProperties(String key)
Collections.emptyMap()
if the property for given key is not found. For Operation Properties of
type String, Integer or Boolean, please use getProperty(String)
or getProperty(String, String)
key
- key of the desired custom propertyCollections.emptyMap()
if
not foundIllegalArgumentException
- if the key provided is not a "customproperties" field type.