Class ConfigNamingUtil
java.lang.Object
io.quarkus.annotation.processor.documentation.config.util.ConfigNamingUtil
-
Method Summary
Modifier and TypeMethodDescriptioncamelHumpsIterator(String str) (package private) static StringderiveConfigRootName(String simpleClassName, String prefix, ConfigPhase configPhase) static Stringstatic StringgetRootPrefix(String prefix, String name, String simpleClassName, ConfigPhase configPhase) static Stringstatic StringhyphenateEnumValue(String orig) This needs to be consistent with io.quarkus.runtime.configuration.HyphenateEnumConverter.(package private) static String(package private) static StringnormalizeDurationValue(String value) static StringtoEnvVarName(String name) Replace each character that is neither alphanumeric nor _ with _ then convert the name to upper case, e.g.
-
Method Details
-
getRootPrefix
public static String getRootPrefix(String prefix, String name, String simpleClassName, ConfigPhase configPhase) -
deriveConfigRootName
-
camelHumpsIterator
-
lowerCase
-
join
-
hyphenate
-
hyphenateEnumValue
This needs to be consistent with io.quarkus.runtime.configuration.HyphenateEnumConverter. -
normalizeDurationValue
-
toEnvVarName
Replace each character that is neither alphanumeric nor _ with _ then convert the name to upper case, e.g. quarkus.datasource.jdbc.initial-size -> QUARKUS_DATASOURCE_JDBC_INITIAL_SIZE See also: io.smallrye.config.common.utils.StringUtil#replaceNonAlphanumericByUnderscores(java.lang.String) -
getMapKey
-