Package org.tmatesoft.svn.core.io
Interface ISVNReplayHandler
- All Known Implementing Classes:
SVNReplayHandler
public interface ISVNReplayHandler
The ISVNReplayHandler is used in
SVNRepository.replayRange(long, long, long, boolean, ISVNReplayHandler)
to provide and editor for replaying a revision.- Since:
- 1.2
- Version:
- 1.3
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleEndRevision
(long revision, SVNProperties revisionProperties, ISVNEditor editor) Handles the end of replaying a next revision.handleStartRevision
(long revision, SVNProperties revisionProperties) Handles the start of replaying a next revision and returns an editor through which the revision will be replayed.
-
Method Details
-
handleStartRevision
Handles the start of replaying a next revision and returns an editor through which the revision will be replayed.- Parameters:
revision
- target revision number of the received replay reportrevisionProperties
- contains key/value pairs for each revision properties for thisrevision
- Returns:
- editor for replicating
revision
- Throws:
SVNException
-
handleEndRevision
void handleEndRevision(long revision, SVNProperties revisionProperties, ISVNEditor editor) throws SVNException Handles the end of replaying a next revision. In this method the implementor should close theeditor
.- Parameters:
revision
- target revision number of the received replay reportrevisionProperties
- contains key/value pairs for each revision properties for thisrevision
editor
- replication editor- Throws:
SVNException
-