Package step.core.artefacts
Class ArtefactTypeIdResolver
java.lang.Object
step.core.artefacts.ArtefactTypeIdResolver
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsontype.TypeIdResolver
public class ArtefactTypeIdResolver
extends Object
implements com.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.annotation.JsonTypeInfo.Id
idFromValue
(Object arg0) idFromValueAndType
(Object arg0, Class<?> arg1) void
init
(com.fasterxml.jackson.databind.JavaType arg0) com.fasterxml.jackson.databind.JavaType
typeFromId
(com.fasterxml.jackson.databind.DatabindContext arg0, String arg1)
-
Constructor Details
-
ArtefactTypeIdResolver
public ArtefactTypeIdResolver()
-
-
Method Details
-
getMechanism
public com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()- Specified by:
getMechanism
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
idFromBaseType
- Specified by:
idFromBaseType
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
idFromValue
- Specified by:
idFromValue
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
idFromValueAndType
- Specified by:
idFromValueAndType
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
init
public void init(com.fasterxml.jackson.databind.JavaType arg0) - Specified by:
init
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
typeFromId
public com.fasterxml.jackson.databind.JavaType typeFromId(com.fasterxml.jackson.databind.DatabindContext arg0, String arg1) - Specified by:
typeFromId
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
getDescForKnownTypeIds
- Specified by:
getDescForKnownTypeIds
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-