Class ConfluenceTypesExtension

  • All Implemented Interfaces:
    com.atlassian.graphql.spi.GraphQLExtensions, com.atlassian.graphql.spi.GraphQLTypeContributor

    public class ConfluenceTypesExtension
    extends com.atlassian.graphql.json.jersey.JerseyResourceMethodExtensions
    Provides Confluence-specific types builders for graphql.
    Since:
    6.12.0
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfluenceTypesExtension​(com.atlassian.plugin.PluginAccessor pluginAccessor)
      When adding special handling of type serialization for GraphQL, consider providing the same handling for REST serialization handlers in SerializerModule
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<com.atlassian.graphql.spi.GraphQLTypeBuilder> getAdditionalTypeBuilders​(com.atlassian.graphql.spi.GraphQLTypeBuilder typeBuilder, com.atlassian.graphql.spi.GraphQLExtensions extensions)  
      • Methods inherited from class com.atlassian.graphql.json.jersey.JerseyResourceMethodExtensions

        getDataFetcher, transformResponseStatus
      • Methods inherited from interface com.atlassian.graphql.spi.GraphQLExtensions

        contributeFields, contributeTypeName, getDataFetcherThunk, getExpansionRootPaths, getInstrumentation, getValueTransformer, isExpansionField
    • Constructor Detail

      • ConfluenceTypesExtension

        public ConfluenceTypesExtension​(com.atlassian.plugin.PluginAccessor pluginAccessor)
        When adding special handling of type serialization for GraphQL, consider providing the same handling for REST serialization handlers in SerializerModule
    • Method Detail

      • getAdditionalTypeBuilders

        public List<com.atlassian.graphql.spi.GraphQLTypeBuilder> getAdditionalTypeBuilders​(com.atlassian.graphql.spi.GraphQLTypeBuilder typeBuilder,
                                                                                            com.atlassian.graphql.spi.GraphQLExtensions extensions)