| java.lang.Object | |
| ↳ | com.atlassian.confluence.it.export.Exporter |
Contains methods for testing export. There are no good reasons why the only export space method is by webTester and the only site export is by RPC. It's just what is currently used.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Exporter.AttachmentOption | |||||||||||
| Exporter.ContentOption | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Download and parse xml backup into SimpleSiteStructure, useful to validate site exports in acceptance tests.
| |||||||||||
This method is deprecated.
use
exportSite(com.atlassian.confluence.it.rpc.ConfluenceRpc, com.atlassian.confluence.it.export.Exporter.AttachmentOption)
| |||||||||||
Export a site via RPC.
| |||||||||||
Export a space through the web interface.
| |||||||||||
Export a space through the web interface.
| |||||||||||
Return SimpleSiteStructure object useful to validate site exports in acceptance tests.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Download and parse xml backup into SimpleSiteStructure, useful to validate site exports in acceptance tests.
| url | where export can be downloaded |
|---|---|
| user | with sufficient permission to download export |
| IOException | if file does not exist in the given url. |
|---|---|
| Exception | if it failed to create InputStream for entities.xml entry. |
This method is deprecated.
use exportSite(com.atlassian.confluence.it.rpc.ConfluenceRpc, com.atlassian.confluence.it.export.Exporter.AttachmentOption)
Export a site via RPC.
| rpc | the rpc object |
|---|---|
| exportAttachments | true for exporting attachments, false otherwise |
| MalformedURLException | if the URL is malformed |
|---|
Export a site via RPC.
| rpc | the rpc object |
|---|---|
| attachmentOption | true for exporting attachments, false otherwise |
| MalformedURLException | if the URL is malformed |
|---|
Export a space through the web interface.
| space | the target space |
|---|---|
| webTester | should have the appropriate user logged in already |
| contentOption | can be ALL, VISIBLE, or DEFAULT |
| excludedPageIds | a collection of page IDs that should not be selected for export, others are selected by default |
Export a space through the web interface.
| space | the target space |
|---|---|
| webTester | should have the appropriate user logged in already |
| contentOption | can be ALL, VISIBLE, or DEFAULT |
Return SimpleSiteStructure object useful to validate site exports in acceptance tests.
| file | XML backup |
|---|
| IOException | if file does not exist. |
|---|---|
| Exception | if it failed to create InputStream for entities.xml entry. |