public class EnumMapper extends CachingMapper<graphql.schema.GraphQLEnumType,graphql.schema.GraphQLEnumType>
| Constructor and Description |
|---|
EnumMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getInputTypeName(AnnotatedType type,
BuildContext buildContext) |
protected String |
getTypeName(AnnotatedType type,
BuildContext buildContext) |
boolean |
supports(AnnotatedType type) |
graphql.schema.GraphQLEnumType |
toGraphQLInputType(String typeName,
AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLEnumType |
toGraphQLType(String typeName,
AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphQLInputType, graphQLTypecollectAbstract, registerAbstract, toGraphQLInputType, toGraphQLTypepublic graphql.schema.GraphQLEnumType toGraphQLType(String typeName, AnnotatedType javaType, Set<Type> abstractTypes, OperationMapper operationMapper, BuildContext buildContext)
toGraphQLType in class CachingMapper<graphql.schema.GraphQLEnumType,graphql.schema.GraphQLEnumType>public graphql.schema.GraphQLEnumType toGraphQLInputType(String typeName, AnnotatedType javaType, Set<Type> abstractTypes, OperationMapper operationMapper, BuildContext buildContext)
toGraphQLInputType in class CachingMapper<graphql.schema.GraphQLEnumType,graphql.schema.GraphQLEnumType>public boolean supports(AnnotatedType type)
protected String getTypeName(AnnotatedType type, BuildContext buildContext)
getTypeName in class CachingMapper<graphql.schema.GraphQLEnumType,graphql.schema.GraphQLEnumType>protected String getInputTypeName(AnnotatedType type, BuildContext buildContext)
getInputTypeName in class CachingMapper<graphql.schema.GraphQLEnumType,graphql.schema.GraphQLEnumType>Copyright © 2016–2017. All rights reserved.