public class EnrichmentExtension extends Object implements com.atlassian.graphql.spi.GraphQLExtensions
ApiRestEntityFactory.| Constructor and Description |
|---|
EnrichmentExtension(ApiRestEntityFactory apiRestEntityFactory) |
| 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) |
Function<Object,Object> |
getValueTransformer(Type type,
AnnotatedElement element) |
public EnrichmentExtension(ApiRestEntityFactory apiRestEntityFactory)
public String contributeTypeName(String typeName, Type type, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
contributeTypeName in interface com.atlassian.graphql.spi.GraphQLExtensionscontributeTypeName in interface com.atlassian.graphql.spi.GraphQLTypeContributorpublic void contributeFields(String typeName, Type type, List<graphql.schema.GraphQLFieldDefinition> fields, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
contributeFields in interface com.atlassian.graphql.spi.GraphQLExtensionscontributeFields in interface com.atlassian.graphql.spi.GraphQLTypeContributorpublic Function<Object,Object> getValueTransformer(Type type, AnnotatedElement element)
getValueTransformer in interface com.atlassian.graphql.spi.GraphQLExtensionsCopyright © 2003–2021 Atlassian. All rights reserved.