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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interfacestatic final classstatic classAnexporterthat creates XML output suitable to be interpreted by anXML importer.static interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract OUTcreateOutput(OutputStream out) protected abstract voidendPackageUnit(OUT out) protected voidprotected voidexportBranch(OUT out, CDOBranch branch) protected voidexportBranches(OUT out) protected abstract voidexportCommit(OUT out, CDOCommitInfo commitInfo) protected voidexportCommits(OUT out) protected voidexportLobs(OUT out) protected abstract voidexportPackageInfo(OUT out, String packageURI) protected voidexportPackages(OUT out) final voidprotected abstract voidexportRevision(OUT out, CDORevision revision) protected voidexportRevisions(OUT out, CDOBranch branch) final IRepositorylongbooleanvoidsetBranchPath(String branchPath) voidsetExportSystemPackages(boolean exportSystemPackages) voidsetTimeStamp(long timeStamp) protected abstract OutputStreamprotected abstract Writerprotected abstract voidstartPackageUnit(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
-