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 Summary
Nested Classes Modifier and Type Class Description static class
IconFieldsProvider.PathType
-
Constructor Summary
Constructors Constructor Description IconFieldsProvider(ContextPathHolder contextPathHolder, GlobalSettingsManager settingsManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contributeFields(String typeName, Type type, List<graphql.schema.GraphQLFieldDefinition> fields, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
String
contributeTypeName(String typeName, Type type, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
String
getPath(graphql.schema.DataFetchingEnvironment env, IconFieldsProvider.PathType type)
-
-
-
Constructor Detail
-
IconFieldsProvider
public IconFieldsProvider(ContextPathHolder contextPathHolder, GlobalSettingsManager settingsManager)
-
-
Method Detail
-
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
-
getPath
public String getPath(graphql.schema.DataFetchingEnvironment env, IconFieldsProvider.PathType type)
-
-