public class SpaceMetadataTypeBuilder
extends com.atlassian.graphql.types.DynamicTypeBuilder
Space
metadata.Constructor and Description |
---|
SpaceMetadataTypeBuilder(com.atlassian.graphql.spi.GraphQLTypeBuilder typeBuilder,
com.atlassian.graphql.spi.GraphQLExtensions extensions) |
Modifier and Type | Method and Description |
---|---|
graphql.schema.GraphQLType |
buildType(String typeName,
Type type,
AnnotatedElement element,
com.atlassian.graphql.spi.GraphQLTypeBuilderContext context) |
boolean |
canBuildType(Type type,
AnnotatedElement element) |
String |
getTypeName(Type type,
AnnotatedElement element,
com.atlassian.graphql.spi.GraphQLTypeBuilderContext context) |
public SpaceMetadataTypeBuilder(com.atlassian.graphql.spi.GraphQLTypeBuilder typeBuilder, com.atlassian.graphql.spi.GraphQLExtensions extensions)
public String getTypeName(Type type, AnnotatedElement element, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
getTypeName
in interface com.atlassian.graphql.spi.GraphQLTypeBuilder
getTypeName
in class com.atlassian.graphql.types.DynamicTypeBuilder
public boolean canBuildType(Type type, AnnotatedElement element)
canBuildType
in interface com.atlassian.graphql.spi.GraphQLTypeBuilder
canBuildType
in class com.atlassian.graphql.types.DynamicTypeBuilder
public graphql.schema.GraphQLType buildType(String typeName, Type type, AnnotatedElement element, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
buildType
in interface com.atlassian.graphql.spi.GraphQLTypeBuilder
buildType
in class com.atlassian.graphql.types.DynamicTypeBuilder
Copyright © 2003–2020 Atlassian. All rights reserved.