public class RequestEntityEnricher extends Object implements EntityEnricher
Constructor and Description |
---|
RequestEntityEnricher() |
Modifier and Type | Method and Description |
---|---|
void |
enrich(@NonNull RestEntity entity,
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.
|
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, SchemaType schemaType)
enrich
in interface EntityEnricher
Copyright © 2003–2020 Atlassian. All rights reserved.