Class WidgetConfigResolver
java.lang.Object
org.graylog.plugins.views.migrations.V20191125144500_MigrateDashboardsToViewsSupport.WidgetConfigResolver
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsontype.TypeIdResolver
public class WidgetConfigResolver
extends Object
implements com.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.annotation.JsonTypeInfo.Id
idFromValue
(Object value) idFromValueAndType
(Object value, Class<?> suggestedType) void
init
(com.fasterxml.jackson.databind.JavaType baseType) com.fasterxml.jackson.databind.JavaType
typeFromId
(com.fasterxml.jackson.databind.DatabindContext context, String id)
-
Constructor Details
-
WidgetConfigResolver
public WidgetConfigResolver()
-
-
Method Details
-
init
public void init(com.fasterxml.jackson.databind.JavaType baseType) - Specified by:
init
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
typeFromId
public com.fasterxml.jackson.databind.JavaType typeFromId(com.fasterxml.jackson.databind.DatabindContext context, String id) throws IOException - Specified by:
typeFromId
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
- Throws:
IOException
-
idFromValue
- Specified by:
idFromValue
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
idFromValueAndType
- Specified by:
idFromValueAndType
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
idFromBaseType
- Specified by:
idFromBaseType
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
getDescForKnownTypeIds
- Specified by:
getDescForKnownTypeIds
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
getMechanism
public com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()- Specified by:
getMechanism
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-