public class MutableDynamicPropertyMap extends Object implements DynamicPropertyMap
| Constructor and Description |
|---|
MutableDynamicPropertyMap() |
MutableDynamicPropertyMap(Map<String,Object> values) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(String key,
Object value) |
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). |
public String getProperty(String key)
DynamicPropertyMapBrowseContext.getOperationProperties()getProperty in interface DynamicPropertyMapkey - key of the desired propertynull if not foundpublic String getProperty(String key, String defaultValue)
DynamicPropertyMapnull 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()getProperty in interface DynamicPropertyMapkey - key of the desired propertydefaultValue - value to return if property value is blankpublic Map<String,String> getCustomProperties(String key)
DynamicPropertyMapCollections.emptyMap() if the property for given key is not found. For Operation Properties of
type String, Integer or Boolean, please use DynamicPropertyMap.getProperty(String) or DynamicPropertyMap.getProperty(String, String)getCustomProperties in interface DynamicPropertyMapkey - key of the desired custom propertyCollections.emptyMap() if
not found