Class UserFieldsProvider
java.lang.Object
com.atlassian.confluence.plugins.graphql.providers.UserFieldsProvider
- All Implemented Interfaces:
com.atlassian.graphql.spi.GraphQLTypeContributor
public class UserFieldsProvider
extends Object
implements com.atlassian.graphql.spi.GraphQLTypeContributor
A GraphQL provider for additional fields on Person or User objects.
- Since:
- 6.12.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
contributeFields
(String typeName, Type type, List<graphql.schema.GraphQLFieldDefinition> fields, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context) contributeTypeName
(String typeName, Type type, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
-
Constructor Details
-
UserFieldsProvider
-
-
Method Details
-
contributeTypeName
public String contributeTypeName(String typeName, Type type, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context) - Specified by:
contributeTypeName
in interfacecom.atlassian.graphql.spi.GraphQLTypeContributor
-
contributeFields
public void contributeFields(String typeName, Type type, List<graphql.schema.GraphQLFieldDefinition> fields, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context) - Specified by:
contributeFields
in interfacecom.atlassian.graphql.spi.GraphQLTypeContributor
-