public class SpaceEnricher extends AbstractLinkEnricher implements EntityEnricher
graphql, navigationService, ORIGINAL_LINKS_PROPERTY, SELF_LINK
Constructor and Description |
---|
SpaceEnricher(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, navigation
public SpaceEnricher(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(@NonNull RestEntity entity, @NonNull SchemaType schemaType)
enrich
in interface EntityEnricher
Copyright © 2003–2021 Atlassian. All rights reserved.