Class MutableDynamicPropertyMap

    • Constructor Detail

      • MutableDynamicPropertyMap

        public MutableDynamicPropertyMap()
      • MutableDynamicPropertyMap

        public MutableDynamicPropertyMap​(Map<String,​Object> values)
    • Method Detail

      • getProperty

        public String getProperty​(String key)
        Description copied from interface: DynamicPropertyMap
        Gets the String value (String.valueOf) of the Operation Property with the given key and any overrides applied. 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()
        Specified by:
        getProperty in interface DynamicPropertyMap
        Parameters:
        key - key of the desired property
        Returns:
        String value of the Operation Property or null if not found
      • getProperty

        public String getProperty​(String key,
                                  String defaultValue)
        Description copied from interface: DynamicPropertyMap
        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). 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()
        Specified by:
        getProperty in interface DynamicPropertyMap
        Parameters:
        key - key of the desired property
        defaultValue - value to return if property value is blank
        Returns:
        String property value or defaultValue if not found.
      • addProperty

        public void addProperty​(String key,
                                Object value)