Uses of Class
io.datarouter.gson.typeadapterfactory.EnumTypeAdapterFactory
Packages that use EnumTypeAdapterFactory
-
Uses of EnumTypeAdapterFactory in io.datarouter.gson
Methods in io.datarouter.gson with parameters of type EnumTypeAdapterFactoryModifier and TypeMethodDescriptionstatic com.google.gson.GsonBuilderGsonTool.builder(EnumTypeAdapterFactory enumTypeAdapterFactory) -
Uses of EnumTypeAdapterFactory in io.datarouter.gson.typeadapterfactory
Subclasses of EnumTypeAdapterFactory in io.datarouter.gson.typeadapterfactoryModifier and TypeClassDescriptionstatic classThis can be used to intercept and log unregistered enums, however when multiple of these exist, the logs will not differentiate between them.static classMethods in io.datarouter.gson.typeadapterfactory that return EnumTypeAdapterFactoryModifier and TypeMethodDescriptionprotected EnumTypeAdapterFactoryEnumTypeAdapterFactory.allowUnregistered()Not recommended.protected <T> EnumTypeAdapterFactoryprotected <T extends Enum<T>>
EnumTypeAdapterFactoryEnumTypeAdapterFactory.registerStringMappedEnumOptional(io.datarouter.enums.MappedEnum<T, String> mappedEnum, T replacement) protected <T extends Enum<T>>
EnumTypeAdapterFactoryEnumTypeAdapterFactory.registerStringMappedEnumOptionalWithLogging(io.datarouter.enums.MappedEnum<T, String> mappedEnum, T replacement) protected <T extends Enum<T>>
EnumTypeAdapterFactoryEnumTypeAdapterFactory.registerStringMappedEnumRequired(io.datarouter.enums.MappedEnum<T, String> mappedEnum) protected EnumTypeAdapterFactoryEnumTypeAdapterFactory.suppressUnregisteredLogging()Not recommended.