Class LocalesBuildTimeConfig

    • Field Detail

      • locales

        @ConfigItem(defaultValue="${user.language:en}-${user.country:}",
                    defaultValueDocumentation="Set containing the build system locale")
        public Set<Locale> locales
        The set of supported locales that can be consumed by the extensions.

        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.

      • defaultLocale

        @ConfigItem(defaultValue="${user.language:en}-${user.country:}",
                    defaultValueDocumentation="Build system locale")
        public Locale defaultLocale
        Default locale that can be consumed by the extensions.

        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.

    • Constructor Detail

      • LocalesBuildTimeConfig

        public LocalesBuildTimeConfig()