public class ConfigRetriever extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
resolveConfigAttribute(String expression,
String microProfileConfigKey)
Grabs the config value regardless of where it's stored.
|
static String |
resolveConfigAttribute(String attribute,
String expression,
String microProfileConfigKey)
Grabs the config value regardless of where it's stored.
|
public static String resolveConfigAttribute(String expression, String microProfileConfigKey)
expression - the expression you are looking formicroProfileConfigKey - a microprofile key.public static String resolveConfigAttribute(String attribute, String expression, String microProfileConfigKey)
attribute - the attribute value to fall back on if there's no value expression parammicroProfileConfigKey - a microprofile key.expression - the expression you are looking forCopyright © 2019. All rights reserved.