Package com.testdroid.api.util
Class TypeReferenceFactory
- java.lang.Object
-
- com.testdroid.api.util.TypeReferenceFactory
-
public class TypeReferenceFactory extends java.lang.Object
- Author:
- MichaĆ Szpruta
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends APIEntity>
com.fasterxml.jackson.core.type.TypeReference<APIList<T>>getListTypeRef(java.lang.Class<T> clazz)
static com.fasterxml.jackson.core.type.TypeReference<java.util.Map<java.lang.String,java.lang.String>>
getMapTypeReference()
static <T extends APIEntity>
com.fasterxml.jackson.core.type.TypeReference<APISimpleList<T>>getSimpleListTypeRef(java.lang.Class<T> clazz)
static <T> com.fasterxml.jackson.core.type.TypeReference<T>
getTypeRef(java.lang.Class<T> clazz)
-
-
-
Method Detail
-
getTypeRef
public static <T> com.fasterxml.jackson.core.type.TypeReference<T> getTypeRef(java.lang.Class<T> clazz)
-
getListTypeRef
public static <T extends APIEntity> com.fasterxml.jackson.core.type.TypeReference<APIList<T>> getListTypeRef(java.lang.Class<T> clazz)
-
getSimpleListTypeRef
public static <T extends APIEntity> com.fasterxml.jackson.core.type.TypeReference<APISimpleList<T>> getSimpleListTypeRef(java.lang.Class<T> clazz)
-
getMapTypeReference
public static com.fasterxml.jackson.core.type.TypeReference<java.util.Map<java.lang.String,java.lang.String>> getMapTypeReference()
-
-