Enum Class BuiltinFormatMapperBehaviour

java.lang.Object
java.lang.Enum<BuiltinFormatMapperBehaviour>
io.quarkus.hibernate.orm.runtime.customized.BuiltinFormatMapperBehaviour
All Implemented Interfaces:
Serializable, Comparable<BuiltinFormatMapperBehaviour>, Constable

public enum BuiltinFormatMapperBehaviour extends Enum<BuiltinFormatMapperBehaviour>
  • Enum Constant Details

    • IGNORE

      public static final BuiltinFormatMapperBehaviour 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

      public static final BuiltinFormatMapperBehaviour WARN
      Uses a Quarkus preconfigured format mappers. If a format mapper operation is invoked a warning is logged.
    • FAIL

      public static final BuiltinFormatMapperBehaviour FAIL
      Currently the default one. If there is no user provided format mapper, a Quarkus preconfigured one will fail at runtime.
  • Method Details

    • values

      public static BuiltinFormatMapperBehaviour[] 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

      public static BuiltinFormatMapperBehaviour valueOf(String name)
      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 name
      NullPointerException - 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

      public void xmlApply(org.hibernate.boot.spi.MetadataImplementor metadata, String puName)
    • action

      protected abstract void action(String puName, String type, List<String> causes)