Package com.ibm.fhir.config
Class FHIRConfigHelper
- java.lang.Object
-
- com.ibm.fhir.config.FHIRConfigHelper
-
public class FHIRConfigHelper extends Object
This class contains a set of static helper methods related to configuration parameters. The functions in this class will try to first retrieve a config property from the current tenant's configuration, then (if not found) look in the "default" configuration.
-
-
Constructor Summary
Constructors Constructor Description FHIRConfigHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Boolean
getBooleanProperty(String propertyName, Boolean defaultValue)
static Double
getDoubleProperty(String propertyName, Double defaultValue)
static Integer
getIntProperty(String propertyName, Integer defaultValue)
static PropertyGroup
getPropertyGroup(String propertyName)
static List<String>
getStringListProperty(String propertyName)
static String
getStringProperty(String propertyName, String defaultValue)
-
-
-
Method Detail
-
getBooleanProperty
public static Boolean getBooleanProperty(String propertyName, Boolean defaultValue)
-
getPropertyGroup
public static PropertyGroup getPropertyGroup(String propertyName)
-
-