Class ContainerTypeBuilder

  • All Implemented Interfaces:
    com.atlassian.graphql.spi.GraphQLTypeBuilder

    public class ContainerTypeBuilder
    extends com.atlassian.graphql.json.types.JsonObjectTypeBuilder
    A builder for GraphQLObjectType objects, generated for api Container objects.
    Since:
    6.12.0
    • Constructor Summary

      Constructors 
      Constructor Description
      ContainerTypeBuilder​(com.atlassian.graphql.spi.GraphQLTypeBuilder typeBuilder, com.atlassian.graphql.spi.GraphQLExtensions extensions)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      graphql.schema.GraphQLType buildType​(String typeName, Type type, AnnotatedElement element, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)  
      boolean canBuildType​(Type type, AnnotatedElement element)  
      • Methods inherited from class com.atlassian.graphql.json.types.JsonObjectTypeBuilder

        buildDefaultTypeResolver, buildField, buildFields, getFieldName
      • Methods inherited from class com.atlassian.graphql.types.ObjectTypeBuilder

        buildField, buildField, buildFields, buildFromTypes, getTypeBuilder, getTypeName
      • Methods inherited from interface com.atlassian.graphql.spi.GraphQLTypeBuilder

        buildInputType, buildType, buildType, buildType, getValueTransformer
    • Constructor Detail

      • ContainerTypeBuilder

        public ContainerTypeBuilder​(com.atlassian.graphql.spi.GraphQLTypeBuilder typeBuilder,
                                    com.atlassian.graphql.spi.GraphQLExtensions extensions)
    • Method Detail

      • canBuildType

        public boolean canBuildType​(Type type,
                                    AnnotatedElement element)
        Specified by:
        canBuildType in interface com.atlassian.graphql.spi.GraphQLTypeBuilder
        Overrides:
        canBuildType in class com.atlassian.graphql.json.types.JsonObjectTypeBuilder
      • buildType

        public graphql.schema.GraphQLType buildType​(String typeName,
                                                    Type type,
                                                    AnnotatedElement element,
                                                    com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
        Specified by:
        buildType in interface com.atlassian.graphql.spi.GraphQLTypeBuilder
        Overrides:
        buildType in class com.atlassian.graphql.types.ObjectTypeBuilder