| java.lang.Object | 
    
    
        
            | ↳ | com.atlassian.bitbucket.property.PropertyMap | 
    
    
Class Overview
Immutable collection of properties mapped by string keys. Allows for storing any object as a property value.
 
 It is strongly encouraged that the property values can be marshalled to/from JSON, or they will not be included in
 REST responses.
  
 
Summary
| Nested Classes | 
|---|
  
    
      | class | PropertyMap.Builder |  | 
    
    
| Public Methods | 
|---|
	 
    
        | void | clear() | 
	 
    
        | boolean | containsKey(Object key) | 
	 
    
        | boolean | containsValue(Object value) | 
	 
    
        | @Nonnull
            
            
            
            
            
            
            Set<Entry<String, Object>> | entrySet() | 
	 
    
        | boolean | equals(Object obj) | 
	 
    
        | Object | get(Object key) | 
	 
    
        | @Nullable
            
            
            
            
            
            <E, I extends Iterable<E>>
            I | getAs(String key, Class<I> iterableType, Class<E> elementType) Convenience method to return the property value as an instance of Iterablewith element typeE. | 
	 
    
        | @Nullable
            
            
            
            
            
            <T>
            T | getAs(String key, Class<T> expectedType) | 
	 
    
        | int | hashCode() | 
	 
    
        | boolean | isEmpty() | 
	 
    
        | @Nonnull
            
            
            
            
            
            
            Set<String> | keySet() | 
	 
    
        | Object | put(String key, Object value) | 
	 
    
        | void | putAll(Map<? extends String, ?> other) | 
	 
    
        | Object | remove(Object key) | 
	 
    
        | int | size() | 
	 
    
        | String | toString() | 
	 
    
        | @Nonnull
            
            
            
            
            
            
            Collection<Object> | values() | 
| [Expand] Inherited Methods | 
|---|
|  From class
  java.lang.Object 
  
   
    
    
	 
    
        | Object | clone() |  
        | boolean | equals(Object arg0) |  
        | void | finalize() |  
        | final
            
            
            Class<?> | getClass() |  
        | int | hashCode() |  
        | final
            
            
            void | notify() |  
        | final
            
            
            void | notifyAll() |  
        | String | toString() |  
        | final
            
            
            void | wait(long arg0, int arg1) |  
        | final
            
            
            void | wait(long arg0) |  
        | final
            
            
            void | wait() |  | 
|  From interface
  java.util.Map 
  
   
    
    
	 
    
        | void | clear() |  
        | V | compute(K arg0, BiFunction<? super K, ? super V, ? extends V> arg1) |  
        | V | computeIfAbsent(K arg0, Function<? super K, ? extends V> arg1) |  
        | V | computeIfPresent(K arg0, BiFunction<? super K, ? super V, ? extends V> arg1) |  
        | boolean | containsKey(Object arg0) |  
        | boolean | containsValue(Object arg0) |  
        | Set<Entry<K, V>> | entrySet() |  
        | boolean | equals(Object arg0) |  
        | void | forEach(BiConsumer<? super K, ? super V> arg0) |  
        | V | get(Object arg0) |  
        | V | getOrDefault(Object arg0, V arg1) |  
        | int | hashCode() |  
        | boolean | isEmpty() |  
        | Set<K> | keySet() |  
        | V | merge(K arg0, V arg1, BiFunction<? super V, ? super V, ? extends V> arg2) |  
        | V | put(K arg0, V arg1) |  
        | void | putAll(Map<? extends K, ? extends V> arg0) |  
        | V | putIfAbsent(K arg0, V arg1) |  
        | boolean | remove(Object arg0, Object arg1) |  
        | V | remove(Object arg0) |  
        | boolean | replace(K arg0, V arg1, V arg2) |  
        | V | replace(K arg0, V arg1) |  
        | void | replaceAll(BiFunction<? super K, ? super V, ? extends V> arg0) |  
        | int | size() |  
        | Collection<V> | values() |  | 
Fields
Public Methods
    
      
        
        public
        
        
        
        
        boolean
      
      containsKey
      (Object key)
    
      
    
 
    
      
        
        public
        
        
        
        
        boolean
      
      containsValue
      (Object value)
    
      
    
 
    
      
        
        @Nonnull
        
        public
        
        
        
        
        Set<Entry<String, Object>>
      
      entrySet
      ()
    
      
    
 
    
      
        
        public
        
        
        
        
        boolean
      
      equals
      (Object obj)
    
      
    
 
    
      
        
        public
        
        
        
        
        Object
      
      get
      (Object key)
    
      
    
 
    
      
        
        @Nullable
        
        public
        
        
        
        
        I
      
      getAs
      (String key, Class<I> iterableType, Class<E> elementType)
    
      
    
      
    
    
    
      
  Convenience method to return the property value as an instance of Iterable with element type E.
      Parameters
      
        
          | key | property key | 
        
          | iterableType | class representing the expected type of the iterable | 
        
          | elementType | class representing the expected type of the elements | 
      
   
  
      Returns
      - property value, as an instance of I, ornull, if this property map does not contain a
 property with keykey
 
  
      Throws
        
        
            | ClassCastException | if the property exists, but is not of expected type iterableType | 
      
   
     
 
    
      
        
        @Nullable
        
        public
        
        
        
        
        T
      
      getAs
      (String key, Class<T> expectedType)
    
      
    
 
    
      
        
        public
        
        
        
        
        boolean
      
      isEmpty
      ()
    
      
    
 
    
      
        
        @Nonnull
        
        public
        
        
        
        
        Set<String>
      
      keySet
      ()
    
      
    
 
    
      
        
        public
        
        
        
        
        Object
      
      put
      (String key, Object value)
    
      
    
 
    
      
        
        public
        
        
        
        
        void
      
      putAll
      (Map<? extends String, ?> other)
    
      
    
 
    
      
        
        public
        
        
        
        
        Object
      
      remove
      (Object key)
    
      
    
 
    
      
        
        public
        
        
        
        
        String
      
      toString
      ()
    
      
    
 
    
      
        
        @Nonnull
        
        public
        
        
        
        
        Collection<Object>
      
      values
      ()