Class MapModuleConfig

All Implemented Interfaces:
ModuleConfig
Direct Known Subclasses:
EnvironmentMapModuleConfig

public class MapModuleConfig extends AbstractMapModuleConfig
A ModuleConfig backed by a simple key/value Map.
Author:
Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
  • Constructor Details

  • Method Details

    • getValue

      protected Object getValue(String propertyName)
      Description copied from class: AbstractMapModuleConfig
      Returns the value of the property with the specified name, or null if it does not exist. The returned object may be a String or directly a more specialized type (Date or Float for instance).
      Specified by:
      getValue in class AbstractMapModuleConfig
      Parameters:
      propertyName - The name of the property to be looked up
      Returns:
      The value of the specified property it it exists, null otherwise.
    • hasProperty

      public boolean hasProperty(String name)
    • getPropertyNames

      public Set<String> getPropertyNames()
    • setPathProperty

      public void setPathProperty(String name, Path path)
    • setClassProperty

      public <T> void setClassProperty(String name, Class<T> subClass)
    • setStringProperty

      public void setStringProperty(String name, String value)
    • setStringListProperty

      public void setStringListProperty(String name, List<String> value)