Package org.eclipse.emf.cdo.server
Class CDOServerExporter<OUT>
java.lang.Object
org.eclipse.emf.cdo.server.CDOServerExporter<OUT>
- Direct Known Subclasses:
CDOServerExporter.Binary
,CDOServerExporter.XML
Exports the complete contents of a
repository
in a format suitable for imports
into new repositories.
Subtypes specify the actual exchange format.
- Since:
- 4.0
- Author:
- Eike Stepper
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static interface
static final class
static class
Anexporter
that creates XML output suitable to be interpreted by anXML importer
.static interface
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract OUT
createOutput
(OutputStream out) protected abstract void
endPackageUnit
(OUT out) protected void
protected void
exportBranch
(OUT out, CDOBranch branch) protected void
exportBranches
(OUT out) protected abstract void
exportCommit
(OUT out, CDOCommitInfo commitInfo) protected void
exportCommits
(OUT out) protected void
exportLobs
(OUT out) protected abstract void
exportPackageInfo
(OUT out, String packageURI) protected void
exportPackages
(OUT out) final void
protected abstract void
exportRevision
(OUT out, CDORevision revision) protected void
exportRevisions
(OUT out, CDOBranch branch) final IRepository
long
boolean
void
setBranchPath
(String branchPath) void
setExportSystemPackages
(boolean exportSystemPackages) void
setTimeStamp
(long timeStamp) protected abstract OutputStream
protected abstract Writer
protected abstract void
startPackageUnit
(OUT out, String id, CDOPackageUnit.Type type, long time, String data)
-
Constructor Details
-
CDOServerExporter
-
-
Method Details
-
getRepository
-
getStatistics
- Since:
- 4.8
-
isExportSystemPackages
public boolean isExportSystemPackages()- Since:
- 4.7
-
setExportSystemPackages
public void setExportSystemPackages(boolean exportSystemPackages) - Since:
- 4.7
-
getBranchPath
- Since:
- 4.8
-
setBranchPath
- Since:
- 4.8
-
getTimeStamp
public long getTimeStamp()- Since:
- 4.8
-
setTimeStamp
public void setTimeStamp(long timeStamp) - Since:
- 4.8
-
exportRepository
- Throws:
Exception
-
createOutput
- Throws:
Exception
-
exportAll
- Throws:
Exception
-
exportPackages
- Throws:
Exception
-
startPackageUnit
protected abstract void startPackageUnit(OUT out, String id, CDOPackageUnit.Type type, long time, String data) throws Exception - Throws:
Exception
-
endPackageUnit
- Throws:
Exception
-
exportPackageInfo
- Throws:
Exception
-
exportBranches
- Throws:
Exception
-
exportBranch
- Throws:
Exception
-
exportRevisions
- Throws:
Exception
-
exportRevision
- Throws:
Exception
-
exportLobs
- Throws:
Exception
-
startBlob
- Throws:
Exception
-
startClob
- Throws:
Exception
-
exportCommits
- Throws:
Exception
-
exportCommit
- Throws:
Exception
-