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 java.lang.Object implements com.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
-
Constructor Summary
Constructors Constructor Description ArtefactTypeIdResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescForKnownTypeIds()
com.fasterxml.jackson.annotation.JsonTypeInfo.Id
getMechanism()
java.lang.String
idFromBaseType()
java.lang.String
idFromValue(java.lang.Object arg0)
java.lang.String
idFromValueAndType(java.lang.Object arg0, java.lang.Class<?> arg1)
void
init(com.fasterxml.jackson.databind.JavaType arg0)
com.fasterxml.jackson.databind.JavaType
typeFromId(com.fasterxml.jackson.databind.DatabindContext arg0, java.lang.String arg1)
-
-
-
Method Detail
-
getMechanism
public com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()
- Specified by:
getMechanism
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
idFromBaseType
public java.lang.String idFromBaseType()
- Specified by:
idFromBaseType
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
idFromValue
public java.lang.String idFromValue(java.lang.Object arg0)
- Specified by:
idFromValue
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
idFromValueAndType
public java.lang.String idFromValueAndType(java.lang.Object arg0, java.lang.Class<?> arg1)
- 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, java.lang.String arg1)
- Specified by:
typeFromId
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
getDescForKnownTypeIds
public java.lang.String getDescForKnownTypeIds()
- Specified by:
getDescForKnownTypeIds
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
-