Class RestEntityConverter
- java.lang.Object
-
- com.atlassian.confluence.rest.serialization.RestEntityConverter
-
public final class RestEntityConverter extends Object
Converts a rest entity to an enrichable entity.- Since:
- 5.9
-
-
Constructor Summary
Constructors Constructor Description RestEntityConverter(RestEntityFactory restEntityFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
convert(Object entity)
Object
convert(Object entity, SchemaType schemaType)
boolean
isEnrichableEntity(Class entityType)
boolean
isEnrichableList(Class listType)
-
-
-
Constructor Detail
-
RestEntityConverter
public RestEntityConverter(RestEntityFactory restEntityFactory)
-
-
Method Detail
-
convert
public Object convert(Object entity, SchemaType schemaType)
- Since:
- 6.12.0
-
isEnrichableList
public boolean isEnrichableList(Class listType)
- Since:
- 6.12.0
-
isEnrichableEntity
public boolean isEnrichableEntity(Class entityType)
- Since:
- 6.12.0
-
-