public class ContentEnricher extends AbstractLinkEnricher implements EntityEnricher
graphql, navigationService, ORIGINAL_LINKS_PROPERTY, SELF_LINK| Constructor and Description |
|---|
ContentEnricher(RestNavigationService navigationService,
GraphQL graphql) |
| Modifier and Type | Method and Description |
|---|---|
void |
enrich(RestEntity entity,
SchemaType schemaType) |
Map<String,Type> |
getEnrichedPropertyTypes(Type type)
Get the types of the properties that may possibly be provided by this enricher.
|
boolean |
isRecursive()
Get whether the enricher applies to the root object only, or recursively to all objects in the tree.
|
enrichLinks, enrichWithLink, getEnrichedPropertyTypes, navigationpublic ContentEnricher(RestNavigationService navigationService, GraphQL graphql)
public boolean isRecursive()
RestObjectEnricherisRecursive in interface RestObjectEnricher@Nonnull public Map<String,Type> getEnrichedPropertyTypes(@Nonnull Type type)
RestObjectEnrichergetEnrichedPropertyTypes in interface RestObjectEnrichertype - The type of the object being enrichedpublic void enrich(@Nonnull RestEntity entity, @Nonnull SchemaType schemaType)
enrich in interface EntityEnricherCopyright © 2003–2019 Atlassian. All rights reserved.