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(@NonNull RestEntity entity,
@NonNull SchemaType schemaType) |
@NonNull Map<String,Type> |
getEnrichedPropertyTypes(@NonNull 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 RestObjectEnricherpublic @NonNull 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–2020 Atlassian. All rights reserved.