Enum Class BuiltinFormatMapperBehaviour
java.lang.Object
java.lang.Enum<BuiltinFormatMapperBehaviour>
io.quarkus.hibernate.orm.runtime.customized.BuiltinFormatMapperBehaviour
- All Implemented Interfaces:
Serializable,Comparable<BuiltinFormatMapperBehaviour>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidstatic booleanhasJsonProperties(org.hibernate.boot.spi.MetadataImplementor metadata) static booleanhasXmlProperties(org.hibernate.boot.spi.MetadataImplementor metadata) voidjsonApply(org.hibernate.boot.spi.MetadataImplementor metadata, String puName, io.quarkus.arc.ArcContainer container, JsonFormatterCustomizationCheck check) static BuiltinFormatMapperBehaviourReturns the enum constant of this class with the specified name.static BuiltinFormatMapperBehaviour[]values()Returns an array containing the constants of this enum class, in the order they are declared.void
-
Enum Constant Details
-
IGNORE
The Quarkus preconfigured mappers are ignored and if there is no user provided one, Hibernate ORM will create a mapper according to its own rules. -
WARN
Uses a Quarkus preconfigured format mappers. If a format mapper operation is invoked a warning is logged. -
FAIL
Currently the default one. If there is no user provided format mapper, a Quarkus preconfigured one will fail at runtime.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
hasJsonProperties
public static boolean hasJsonProperties(org.hibernate.boot.spi.MetadataImplementor metadata) -
hasXmlProperties
public static boolean hasXmlProperties(org.hibernate.boot.spi.MetadataImplementor metadata) -
jsonApply
public void jsonApply(org.hibernate.boot.spi.MetadataImplementor metadata, String puName, io.quarkus.arc.ArcContainer container, JsonFormatterCustomizationCheck check) -
xmlApply
-
action
-