@ConfigRoot(name="<<parent>>", phase=BUILD_AND_RUN_TIME_FIXED) public class LocalesBuildTimeConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
Locale |
defaultLocale
Default locale that can be consumed by the extensions.
|
Set<Locale> |
locales
The set of supported locales that can be consumed by the extensions.
|
| Constructor and Description |
|---|
LocalesBuildTimeConfig() |
@ConfigItem(defaultValue="${user.language:en}-${user.country:}", defaultValueDocumentation="Set containing the build system locale") public Set<Locale> locales
The locales must be specified in the IETF BCP 47 format e.g. en-US or fr-FR.
For instance, the Hibernate Validator extension makes use of it.
@ConfigItem(defaultValue="${user.language:en}-${user.country:}", defaultValueDocumentation="Build system locale") public Locale defaultLocale
The locales must be specified in the IETF BCP 47 format e.g. en-US or fr-FR.
For instance, the Hibernate Validator extension makes use of it.
Copyright © 2021 JBoss by Red Hat. All rights reserved.