Class QuarkusSystemPropertyUtil
java.lang.Object
io.clonecloudstore.common.standard.system.SystemPropertyUtil
io.clonecloudstore.common.quarkus.properties.QuarkusSystemPropertyUtil
A collection of utility methods to retrieve and parse the values of the Java
system properties and from ConfigProvider.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.clonecloudstore.common.standard.system.SystemPropertyUtil
SystemPropertyUtil.Platform -
Method Summary
Modifier and TypeMethodDescriptionstatic BooleangetBooleanConfig(String key) static booleangetBooleanConfig(String key, boolean defaultValue) static booleangetBooleanConfig(String key, Boolean originalValue, boolean defaultValue) static IntegergetIntegerConfig(String key) static intgetIntegerConfig(String key, int defaultValue) static intgetIntegerConfig(String key, Integer originalValue, int defaultValue) static LonggetLongConfig(String key) static longgetLongConfig(String key, long defaultValue) static longgetLongConfig(String key, Long originalValue, long defaultValue) static StringgetStringConfig(String key) static StringgetStringConfig(String key, String defaultValue) static StringgetStringConfig(String key, String originalValue, String defaultValue)
-
Method Details
-
getStringConfig
- Returns:
- the associated value or null if the key is not in the Configuration
-
getLongConfig
- Returns:
- the associated value or null if the key is not in the Configuration
-
getIntegerConfig
- Returns:
- the associated value or null if the key is not in the Configuration
-
getBooleanConfig
- Returns:
- the associated value or null if the key is not in the Configuration
-
getStringConfig
- Returns:
- the associated value or default one if the key is not in the Configuration
-
getIntegerConfig
- Returns:
- the associated value or default one if the key is not in the Configuration
-
getLongConfig
- Returns:
- the associated value or default one if the key is not in the Configuration
-
getBooleanConfig
- Returns:
- the associated value or default one if the key is not in the Configuration
-
getStringConfig
- Returns:
- if originalValue is null, the associated value or default one if the key is not in the Configuration, or if not null the originalValue itself
-
getIntegerConfig
- Returns:
- the associated value or default one if the key is not in the Configuration
-
getLongConfig
- Returns:
- the associated value or default one if the key is not in the Configuration
-
getBooleanConfig
- Returns:
- the associated value or default one if the key is not in the Configuration
-