Interface EntityBuilderFactory
-
- All Known Implementing Classes:
DefaultEntityBuilderFactory
public interface EntityBuilderFactory
Creates a builder for converting an object into a REST entity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchEntityBuilder
createBuilder(String type)
A builder for constructing a search REST entity from a search result<T extends ContentEntityObject>
ContentEntityBuilder<? super T>createContentEntityBuilder(Class<? extends T> clazz)
A builder for constructing a REST entity from a {{com.atlassian.confluence.core.ContentEntityObject}}
-
-
-
Method Detail
-
createBuilder
SearchEntityBuilder createBuilder(String type)
A builder for constructing a search REST entity from a search result- Parameters:
type
- - the type of the search result- Returns:
- A builder for constructing a search REST entity from a search result
-
createContentEntityBuilder
<T extends ContentEntityObject> ContentEntityBuilder<? super T> createContentEntityBuilder(Class<? extends T> clazz)
A builder for constructing a REST entity from a {{com.atlassian.confluence.core.ContentEntityObject}}- Type Parameters:
T
- A ContentEntityObject- Parameters:
clazz
- the class of the content entity- Returns:
- A builder for constructing a REST entity from a {{com.atlassian.confluence.core.ContentEntityObject}}
-
-