T - Subtype of ConfluenceResource to be builtpublic interface ConfluenceResourceBuilder<T extends ConfluenceResource>
ConfluenceResourceBuilder interface
| Modifier and Type | Method and Description |
|---|---|
T |
fromJson(org.json.simple.JSONObject jsonDocument)
Creates a T instance from a JSON representation
|
T |
fromJson(org.json.simple.JSONObject jsonDocument,
T document)
Populates the given T instance from a JSON representation and return it
|
java.lang.Class<T> |
getType()
Returns the Class of the resource that can be built
|
T fromJson(org.json.simple.JSONObject jsonDocument)
Creates a T instance from a JSON representation
jsonDocument - T fromJson(org.json.simple.JSONObject jsonDocument, T document)
Populates the given T instance from a JSON representation and return it
jsonDocument - java.lang.Class<T> getType()
Returns the Class of the resource that can be built