Package io.quarkus.runtime.configuration
Class ConverterSupport
java.lang.Object
io.quarkus.runtime.configuration.ConverterSupport
This small utility class holds constants relevant to configuration converters.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
DefaultConverter
priority with value 200 to be used for all Quarkus converters.static final int
DefaultConverter
priority with value 100 to be used for all discovered converters in case when noPriority
annotation is available on the converter class. -
Method Summary
-
Field Details
-
DEFAULT_SMALLRYE_CONVERTER_PRIORITY
public static final int DEFAULT_SMALLRYE_CONVERTER_PRIORITYDefaultConverter
priority with value 100 to be used for all discovered converters in case when noPriority
annotation is available on the converter class.- See Also:
-
DEFAULT_QUARKUS_CONVERTER_PRIORITY
public static final int DEFAULT_QUARKUS_CONVERTER_PRIORITYDefaultConverter
priority with value 200 to be used for all Quarkus converters. The reason why Quarkus priority is higher than a default one, which is 100, is because Quarkus converters should be used even if some third-party JAR bundles its own converters, unless these 3rd party converters priority is explicitly higher to override Quarkus ones. This way we can be sure that things have a good chance of consistent interoperability.- See Also:
-