@groovy.transform.CompileStatic class DefaultGraphQLTypeManager
The default implementation of GraphQLTypeManager
Modifiers | Name | Description |
---|---|---|
protected static java.util.Map<java.lang.Class, GraphQLEnumType> |
ENUM_TYPES |
|
protected static java.util.Map<java.lang.Class, GraphQLType> |
TYPE_MAP |
Type | Name and description |
---|---|
Builder |
codeRegistry |
GraphQLErrorsResponseHandler |
errorsResponseHandler |
java.util.Map<GraphQLPropertyType, InputObjectTypeBuilder> |
inputObjectTypeBuilders |
GraphQLEntityNamingConvention |
namingConvention |
java.util.Map<GraphQLPropertyType, ObjectTypeBuilder> |
objectTypeBuilders |
GraphQLPaginationResponseHandler |
paginationResponseHandler |
GraphQLDomainPropertyManager |
propertyManager |
Constructor and description |
---|
DefaultGraphQLTypeManager
(Builder codeRegistry, GraphQLEntityNamingConvention namingConvention, GraphQLErrorsResponseHandler errorsResponseHandler, GraphQLDomainPropertyManager propertyManager, GraphQLPaginationResponseHandler paginationResponseHandler) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected java.lang.Class |
boxPrimitive(java.lang.Class clazz) |
|
GraphQLTypeReference |
createReference(PersistentEntity entity, GraphQLPropertyType type) |
|
GraphQLType |
getEnumType(java.lang.Class<? extends java.lang.Enum> clazz, boolean nullable) |
|
GraphQLInputType |
getMutationType(PersistentEntity entity, GraphQLPropertyType type, boolean nullable) |
|
GraphQLOutputType |
getQueryType(PersistentEntity entity, GraphQLPropertyType type) |
|
GraphQLType |
getType(java.lang.Class clazz, boolean nullable = true) |
|
boolean |
hasType(java.lang.Class clazz) |
|
void |
initialize() |
|
void |
registerType(java.lang.Class clazz, GraphQLType type) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |