public class EnumDefinitionToDataModelMapper
extends java.lang.Object
Constructor and Description |
---|
EnumDefinitionToDataModelMapper(GraphQLTypeMapper graphQlTypeMapper,
DataModelMapper dataModelMapper) |
Modifier and Type | Method and Description |
---|---|
DeprecatedDefinition |
getDeprecated(MappingContext mappingContext,
graphql.language.DirectivesContainer<?> directivesContainer) |
java.util.Map<java.lang.String,java.lang.Object> |
map(MappingContext mappingContext,
ExtendedEnumTypeDefinition definition)
Map field definition to a Freemarker data model
|
public EnumDefinitionToDataModelMapper(GraphQLTypeMapper graphQlTypeMapper, DataModelMapper dataModelMapper)
public DeprecatedDefinition getDeprecated(MappingContext mappingContext, graphql.language.DirectivesContainer<?> directivesContainer)
public java.util.Map<java.lang.String,java.lang.Object> map(MappingContext mappingContext, ExtendedEnumTypeDefinition definition)
mappingContext
- Global mapping contextdefinition
- Definition of enum type including base definition and its extensions