| org.tmatesoft.svn.core.replicator.ISVNReplicationHandler
ISVNReplicationHandler | public interface ISVNReplicationHandler (Code) | | The ISVNReplicationHandler is the interface for the handlers
which are registered to a repository replicator to keep track of the
replicating process.
version: 1.1.1 author: TMate Software Ltd. since: 1.1.0 |
checkCancelled | public void checkCancelled() throws SVNCancelException(Code) | | Checks if the replicating operation is cancelled. During each
replicating iteration the replicator simply calls this method. A
handler implementation should decide if the operation must be
interrupted or not, and if for some reason it must be stopped (for example,
a user said it must be cancelled), then the implementor should simply
throw an SVNCancelException. That will terminate the operation.
However it won't roll back all the previously iterations committed
to the destination repository.
throws: SVNCancelException - if the replicating operation is cancelled |
revisionReplicated | public void revisionReplicated(SVNRepositoryReplicator source, SVNCommitInfo commitInfo) throws SVNException(Code) | | Notifies this handler that the replicator has just finished replicating
the current revision copying operation. Commit information of the new revision
committed to the destination repository is provided.
Parameters: source - the notifier Parameters: commitInfo - commit information throws: SVNException - |
revisionReplicating | public void revisionReplicating(SVNRepositoryReplicator source, SVNLogEntry logEntry) throws SVNException(Code) | | Notifies this handler that the replicator is about to start a next
revision copying operation. Log information taken from the source
repository (from where the copy is performed) for that revision
is provided.
Parameters: source - the notifier Parameters: logEntry - log info about revision changes, author, etc. throws: SVNException - |
|
|