Class ConfigurationMemoryMap

java.lang.Object
com.pnfsoftware.jeb.core.properties.impl.ConfigurationMemoryMap
All Implemented Interfaces:
IConfiguration

@Ser public class ConfigurationMemoryMap extends Object implements IConfiguration
Configuration implementation where objects are stored in a hash-map in memory.
  • Constructor Details

    • ConfigurationMemoryMap

      public ConfigurationMemoryMap()
    • ConfigurationMemoryMap

      public ConfigurationMemoryMap(IConfiguration template)
  • Method Details

    • setProperty

      public void setProperty(String key, Object value)
      Description copied from interface: IConfiguration
      Set a property value.
      Specified by:
      setProperty in interface IConfiguration
      Parameters:
      key - the property key
      value - the property value
    • getProperty

      public Object getProperty(String key)
      Description copied from interface: IConfiguration
      Retrieve a property value.
      Specified by:
      getProperty in interface IConfiguration
      Parameters:
      key - the property key
      Returns:
      the property value, null if the property does not exist
    • clearProperty

      public void clearProperty(String key)
      Description copied from interface: IConfiguration
      Remove a property from the configuration object.
      Specified by:
      clearProperty in interface IConfiguration
      Parameters:
      key - the property key
    • getAllPropertyKeys

      public Set<String> getAllPropertyKeys()
      Description copied from interface: IConfiguration
      Get the collection of all property keys held by this configuration object.
      Specified by:
      getAllPropertyKeys in interface IConfiguration
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object