public final class IconFieldsProvider extends Object implements com.atlassian.graphql.spi.GraphQLTypeContributor
Modifier and Type | Class and Description |
---|---|
static class |
IconFieldsProvider.PathType |
Constructor and Description |
---|
IconFieldsProvider(ContextPathHolder contextPathHolder,
SettingsManager settingsManager) |
Modifier and Type | Method and 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) |
public IconFieldsProvider(ContextPathHolder contextPathHolder, SettingsManager settingsManager)
public String contributeTypeName(String typeName, Type type, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
contributeTypeName
in interface com.atlassian.graphql.spi.GraphQLTypeContributor
public void contributeFields(String typeName, Type type, List<graphql.schema.GraphQLFieldDefinition> fields, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
contributeFields
in interface com.atlassian.graphql.spi.GraphQLTypeContributor
public String getPath(graphql.schema.DataFetchingEnvironment env, IconFieldsProvider.PathType type)
Copyright © 2003–2018 Atlassian. All rights reserved.