| java.lang.Object org.tmatesoft.svn.core.replicator.SVNReplicationEditor
SVNReplicationEditor | public class SVNReplicationEditor implements ISVNEditor(Code) | | The SVNReplicationEditor is an editor implementation used by a
repository replicator as a bridge between an update editor for the source
repository and a commit editor of the target one. This editor is provided
to an update method of a source SVNRepository driver to properly translate
the calls of that driver to calls to a commit editor of the destination SVNRepository
driver.
version: 1.1.1 author: TMate Software Ltd. See Also: org.tmatesoft.svn.core.io.SVNRepository since: 1.1.0 |
Method Summary | |
public void | abortEdit() | public void | absentDir(String path) | public void | absentFile(String path) | public void | addDir(String path, String copyFromPath, long copyFromRevision) | public void | addFile(String path, String copyFromPath, long copyFromRevision) | public void | applyTextDelta(String path, String baseChecksum) | public void | changeDirProperty(String name, String value) | public void | changeFileProperty(String path, String name, String value) | public void | closeDir() | public SVNCommitInfo | closeEdit() | public void | closeFile(String path, String textChecksum) | public void | deleteEntry(String path, long revision) | public SVNCommitInfo | getCommitInfo() Returns commit information on the revision
committed to the replication destination repository. | public void | openDir(String path, long revision) | public void | openFile(String path, long revision) | public void | openRoot(long revision) | public void | targetRevision(long revision) | public OutputStream | textDeltaChunk(String path, SVNDiffWindow diffWindow) | public void | textDeltaEnd(String path) |
SVNReplicationEditor | public SVNReplicationEditor(SVNRepository repository, ISVNEditor commitEditor, SVNLogEntry revision)(Code) | | Creates a new replication editor.
repository must be created for the root location of
the source repository which is to be replicated.
Parameters: repository - a source repository Parameters: commitEditor - a commit editor received from the destinationrepository driver (which also must be point to the root location of the destination repository) Parameters: revision - log information of the revision to be copied |
getCommitInfo | public SVNCommitInfo getCommitInfo()(Code) | | Returns commit information on the revision
committed to the replication destination repository.
commit info (revision, author, date) |
|
|