public class LogicalBackup
extends java.lang.Object
implements java.lang.Runnable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OSGI_BASE |
static java.lang.String |
WORKSPACES_BASE |
| Constructor and Description |
|---|
LogicalBackup(BundleContext bundleContext,
Repository repository,
java.nio.file.Path basePath) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeOutputStream(java.lang.String relativePath,
java.io.OutputStream out) |
protected Session |
login(java.lang.String workspaceName) |
protected java.io.OutputStream |
openOutputStream(java.lang.String relativePath) |
void |
perform() |
void |
perform(java.lang.String workspaceName) |
void |
run() |
public static final java.lang.String WORKSPACES_BASE
public static final java.lang.String OSGI_BASE
public LogicalBackup(BundleContext bundleContext, Repository repository, java.nio.file.Path basePath)
public void run()
run in interface java.lang.Runnablepublic void perform()
throws RepositoryException,
java.io.IOException
RepositoryExceptionjava.io.IOExceptionpublic void perform(java.lang.String workspaceName)
throws RepositoryException,
java.io.IOException
RepositoryExceptionjava.io.IOExceptionprotected java.io.OutputStream openOutputStream(java.lang.String relativePath)
throws java.io.IOException
java.io.IOExceptionprotected void closeOutputStream(java.lang.String relativePath,
java.io.OutputStream out)
throws java.io.IOException
java.io.IOExceptionprotected Session login(java.lang.String workspaceName)
Copyright © 2007–2020. All rights reserved.