Class ConfluenceRestClientImporter
- java.lang.Object
-
- com.atlassian.confluence.it.export.ConfluenceRestClientImporter
-
public class ConfluenceRestClientImporter extends Object
Allows global imports without using the web UI
-
-
Constructor Summary
Constructors Constructor Description ConfluenceRestClientImporter(@NonNull ConfluenceRpc rpc, com.atlassian.confluence.test.rest.api.ConfluenceRestClient restClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
importGlobalBackup(File file, boolean waitForReindex)
This import method doesn't use the import Web UI
-
-
-
Constructor Detail
-
ConfluenceRestClientImporter
public ConfluenceRestClientImporter(@NonNull ConfluenceRpc rpc, com.atlassian.confluence.test.rest.api.ConfluenceRestClient restClient)
- Parameters:
rpc
- must be logged in as a user with administrative privileges.restClient
-
-
-
Method Detail
-
importGlobalBackup
public void importGlobalBackup(File file, boolean waitForReindex) throws IOException, ExecutionException, com.github.rholder.retry.RetryException
This import method doesn't use the import Web UI- Throws:
IOException
ExecutionException
com.github.rholder.retry.RetryException
-
-