Class FormattedBody.BaseFormattedBodyBuilder<T extends FormattedBody.BaseFormattedBodyBuilder<T>>
- java.lang.Object
-
- com.atlassian.confluence.api.model.content.FormattedBody.BaseFormattedBodyBuilder<T>
-
- Direct Known Subclasses:
ContentBody.ContentBodyBuilder
,FormattedBody.FormattedBodyBuilder
- Enclosing class:
- FormattedBody
@ExperimentalApi protected abstract static class FormattedBody.BaseFormattedBodyBuilder<T extends FormattedBody.BaseFormattedBodyBuilder<T>> extends Object
Fluent builder for body content and formatted Content.
-
-
Field Summary
Fields Modifier and Type Field Description protected ContentRepresentation
representation
protected String
value
protected Reference<WebResourceDependencies>
webresource
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseFormattedBodyBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract FormattedBody
build()
T
representation(ContentRepresentation representation)
T
value(String value)
T
webresource(@NonNull Reference<WebResourceDependencies> webresource)
T
webresource(WebResourceDependencies webresource)
-
-
-
Field Detail
-
representation
protected ContentRepresentation representation
-
value
protected String value
-
webresource
protected Reference<WebResourceDependencies> webresource
-
-
Method Detail
-
representation
public T representation(ContentRepresentation representation)
-
webresource
public T webresource(WebResourceDependencies webresource)
-
webresource
public T webresource(@NonNull Reference<WebResourceDependencies> webresource)
-
build
public abstract FormattedBody build()
-
-