Package | Description |
---|---|
com.atlassian.confluence.plugins.restapi.enrich | |
com.atlassian.confluence.rest.api.model |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractLinkEnricher.enrichLinks(RestObject entity,
SchemaType schemaType)
Removes the "links" Map<LinkType,Link> from a RestObject and replaces it with a "_links" Map<String,String>
containing the same set of urls.
|
protected void |
AbstractLinkEnricher.enrichWithLink(RestObject restObject,
String linkKey,
String linkUrl,
SchemaType schemaType)
Adds a link to an immutable _links map, creating the map if it doesn't already exist.
|
Modifier and Type | Class and Description |
---|---|
class |
RestEntity<T>
This entity participates in our object serialization by jackson, and allows objects to be enriched with extra
properties during serialization.
|
class |
RestList<T>
The RestList participates in our collection serialization by jackson, and allows collections to be enriched with extra
properties during serialization.
|
Copyright © 2003–2023 Atlassian. All rights reserved.