Class IconFieldsProvider
java.lang.Object
com.atlassian.confluence.plugins.graphql.providers.IconFieldsProvider
- All Implemented Interfaces:
- com.atlassian.graphql.spi.GraphQLTypeContributor
public final class IconFieldsProvider
extends Object
implements com.atlassian.graphql.spi.GraphQLTypeContributor
Provides fields to the 'Icon' GraphQL type
- Since:
- 6.12.0
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionIconFieldsProvider(ContextPathHolder contextPathHolder, GlobalSettingsManager settingsManager) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidcontributeFields(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) getPath(graphql.schema.DataFetchingEnvironment env, IconFieldsProvider.PathType type) 
- 
Constructor Details- 
IconFieldsProviderpublic IconFieldsProvider(ContextPathHolder contextPathHolder, GlobalSettingsManager settingsManager) 
 
- 
- 
Method Details- 
contributeTypeNamepublic String contributeTypeName(String typeName, Type type, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context) - Specified by:
- contributeTypeNamein interface- com.atlassian.graphql.spi.GraphQLTypeContributor
 
- 
contributeFieldspublic void contributeFields(String typeName, Type type, List<graphql.schema.GraphQLFieldDefinition> fields, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context) - Specified by:
- contributeFieldsin interface- com.atlassian.graphql.spi.GraphQLTypeContributor
 
- 
getPathpublic String getPath(graphql.schema.DataFetchingEnvironment env, @DefaultValue("RELATIVE_NO_CONTEXT") IconFieldsProvider.PathType type) 
 
-