Class DefaultGraphQL

java.lang.Object
com.atlassian.confluence.plugins.restapi.graphql.DefaultGraphQL
All Implemented Interfaces:
GraphQL

@Component public class DefaultGraphQL extends Object implements GraphQL
Since:
6.12.0
  • Constructor Details

    • DefaultGraphQL

      public DefaultGraphQL()
  • Method Details

    • isDynamicType

      public boolean isDynamicType(Type type)
      Description copied from interface: GraphQL
      Get whether a type is a 'dynamic type' where the fields are provided at runtime
      Specified by:
      isDynamicType in interface GraphQL
    • createDynamicType

      public Type createDynamicType(String typeName, Map<String,Type> fieldTypes)
      Description copied from interface: GraphQL
      Create a DynamicType object
      Specified by:
      createDynamicType in interface GraphQL
    • getDynamicTypeFields

      public Map<String,Type> getDynamicTypeFields(Type type)
      Description copied from interface: GraphQL
      Get a dynamic type's field names and the field types
      Specified by:
      getDynamicTypeFields in interface GraphQL