public interface ISVNCanceller
SVNKit
for cancelling operations.
To cancel a running operation an implementor should throw an SVNCancelException
from his
checkCancelled()
implementation. This method is called in plenty of SVNKit
methods to give a user a chance to cancel a current running operation. For example, it could be a GUI
application where a 'cancel' button would make the implementor's checkCancelled()
method
throw such an exception.Modifier and Type | Field and Description |
---|---|
static ISVNCanceller |
NULL
Default implementation which never throws an
SVNCancelException (never cancels). |
Modifier and Type | Method and Description |
---|---|
void |
checkCancelled()
Checks if the current operation is cancelled (somehow interrupted)
and should throw an SVNCancelException or notify the handler if exists.
|
static final ISVNCanceller NULL
SVNCancelException
(never cancels).void checkCancelled() throws SVNCancelException
SVNCancelException
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.