Uses of Class
com.github.kagkarlsson.scheduler.serializer.gson.RuntimeTypeAdapterFactory
Packages that use RuntimeTypeAdapterFactory
-
Uses of RuntimeTypeAdapterFactory in com.github.kagkarlsson.scheduler.serializer.gson
Methods in com.github.kagkarlsson.scheduler.serializer.gson that return RuntimeTypeAdapterFactoryModifier and TypeMethodDescriptionstatic <T> RuntimeTypeAdapterFactory<T>Creates a new runtime type adapter forbaseTypeusing"type"as the type field name.static <T> RuntimeTypeAdapterFactory<T>Creates a new runtime type adapter using forbaseTypeusingtypeFieldNameas the type field name.static <T> RuntimeTypeAdapterFactory<T>Creates a new runtime type adapter using forbaseTypeusingtypeFieldNameas the type field name.RuntimeTypeAdapterFactory.recognizeSubtypes()Ensures that this factory will handle not just the givenbaseType, but any subtype of that type.RuntimeTypeAdapterFactory.registerSubtype(Class<? extends T> type) Registerstypeidentified by itssimple name.RuntimeTypeAdapterFactory.registerSubtype(Class<? extends T> type, String label) Registerstypeidentified bylabel.