Class Config.Property

java.lang.Object
io.hypersistence.optimizer.core.config.Config.Property
Enclosing class:
Config

public static class Config.Property extends Object
  • Field Details

  • Constructor Details

    • Property

      public Property()
  • Method Details

    • getValue

      public static <T> T getValue(Map<String,Object> properties, String name, T defaultValue)
      Get the setting value from the provided Map or use the default value if no setting is found.
      Type Parameters:
      T - value type
      Parameters:
      properties - available settings
      name - setting name
      defaultValue - default setting Value
      Returns:
      setting value