public class RestListLinkEnricher extends AbstractLinkEnricher implements CollectionEnricher
ContentRestrictionsPageResponse
s
At the moment of creation it did not enrich any other RestList
s.graphql, navigationService, ORIGINAL_LINKS_PROPERTY, SELF_LINK
Constructor and Description |
---|
RestListLinkEnricher(RestNavigationService navigationService,
GraphQL graphql) |
Modifier and Type | Method and Description |
---|---|
void |
enrich(RestList enrich,
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, navigation
public RestListLinkEnricher(RestNavigationService navigationService, GraphQL graphql)
public boolean isRecursive()
RestObjectEnricher
isRecursive
in interface RestObjectEnricher
public @NonNull Map<String,Type> getEnrichedPropertyTypes(@NonNull Type type)
RestObjectEnricher
getEnrichedPropertyTypes
in interface RestObjectEnricher
type
- The type of the object being enrichedpublic void enrich(RestList enrich, SchemaType schemaType)
enrich
in interface CollectionEnricher
Copyright © 2003–2021 Atlassian. All rights reserved.