public static class Attachment.AttachmentBuilder extends Object implements ConfluenceResourceBuilder<Attachment>
AttachmentBuilder internal class
Used to build Attachments
Constructor and Description |
---|
Attachment.AttachmentBuilder() |
Modifier and Type | Method and Description |
---|---|
Attachment |
fromJson(org.json.JSONObject jsonPage)
Creates a
|
Attachment |
fromJson(org.json.JSONObject jsonPage,
Attachment attachment)
Populates the given
|
Class<Attachment> |
getType()
Returns the Class of the resource that can be built
|
public Attachment fromJson(org.json.JSONObject jsonPage)
ConfluenceResourceBuilder
Creates a
fromJson
in interface ConfluenceResourceBuilder<Attachment>
public Attachment fromJson(org.json.JSONObject jsonPage, Attachment attachment)
ConfluenceResourceBuilder
Populates the given
fromJson
in interface ConfluenceResourceBuilder<Attachment>
public Class<Attachment> getType()
ConfluenceResourceBuilder
Returns the Class of the resource that can be built
getType
in interface ConfluenceResourceBuilder<Attachment>