Uses of Enum
org.jdbi.v3.core.enums.EnumStrategy
Package
Description
Utility classes used internally by Jdbi.
-
Uses of EnumStrategy in org.jdbi.v3.core.enums
Modifier and TypeMethodDescriptionEnums.getDefaultStrategy()
Returns the default strategy to use for mapping and binding enums, in the absence of aEnumByName
orEnumByOrdinal
qualifying annotation.static EnumStrategy
Returns the enum constant of this type with the specified name.static EnumStrategy[]
EnumStrategy.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionEnums.setEnumStrategy
(EnumStrategy enumStrategy) Sets the default strategy for mapping and binding enums. -
Uses of EnumStrategy in org.jdbi.v3.core.internal
Modifier and TypeMethodDescription<E extends Enum<E>>
EnumStrategyEnumStrategies.findStrategy
(QualifiedType<E> type) Determines which strategy is to be used for a givenQualifiedType
, falling back to reading strategy annotations on the source class and/or using the configured default.