Class ConfluenceGraphQLExtensions

java.lang.Object
com.atlassian.graphql.spi.CombinedGraphQLExtensions
com.atlassian.confluence.plugins.graphql.extensions.ConfluenceGraphQLExtensions
All Implemented Interfaces:
com.atlassian.graphql.spi.GraphQLExtensions, com.atlassian.graphql.spi.GraphQLTypeContributor

public class ConfluenceGraphQLExtensions extends com.atlassian.graphql.spi.CombinedGraphQLExtensions
Provides Confluence-specific types and behaviour for graphql.
Since:
6.12.0
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    graphql.execution.instrumentation.Instrumentation
     

    Methods inherited from class com.atlassian.graphql.spi.CombinedGraphQLExtensions

    combine, combine, contributeFields, contributeTypeName, getAdditionalTypeBuilders, getDataFetcher, getDataFetcherThunk, getExpansionRootPaths, getValueTransformer, isExpansionField

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ConfluenceGraphQLExtensions

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

    • getInstrumentation

      public graphql.execution.instrumentation.Instrumentation getInstrumentation()
      Specified by:
      getInstrumentation in interface com.atlassian.graphql.spi.GraphQLExtensions
      Overrides:
      getInstrumentation in class com.atlassian.graphql.spi.CombinedGraphQLExtensions