Package org.tmatesoft.svn.core
Interface ISVNCanceller
- All Known Subinterfaces:
ISVNAdminEventHandler
,ISVNEventHandler
- All Known Implementing Classes:
AbstractSVNCommandEnvironment
,JavaHLEventHandler
,SVNAdminBasicClient
,SVNAdminClient
,SVNAdminCommandEnvironment
,SVNAdminDumpCommand
,SVNAdminEventAdapter
,SVNAdminListTransactionsCommand
,SVNAdminLoadCommand
,SVNAdminPackCommand
,SVNAdminRecoverCommand
,SVNAdminRemoveTransactionsCommand
,SVNAdminUpgradeCommand
,SVNAdminVerifyCommand
,SVNBasicDelegate
,SVNChangelistClient16
,SVNCommandEnvironment
,SVNCommitClient16
,SVNCopyClient16
,SVNCopyDriver
,SVNDiffClient16
,SVNDumpFilterCommandEnvironment
,SVNDumpFilterExcludeCommand
,SVNDumpFilterIncludeCommand
,SVNEventAdapter
,SvnLocalOperationRunner
,SVNLogClient16
,SVNLogClient17
,SVNLookClient
,SVNLookCommandEnvironment
,SVNMergeDriver
,SVNMoveClient16
,SvnNgAbstractUpdate
,SvnNgAdd
,SvnNgCanonicalizeUrls
,SvnNgCat
,SvnNgCheckout
,SvnNgCleanup
,SvnNgCommit
,SvnNgDiff
,SvnNgDiffSummarize
,SvnNgDowngrade
,SvnNgExport
,SvnNgGetChangelistPaths
,SvnNgGetInfo
,SvnNgGetMergeInfo
,SvnNgGetProperties
,SvnNgGetStatus
,SvnNgGetStatusSummary
,SvnNgLogMergeInfo
,SvnNgMarkReplaced
,SvnNgMerge
,SvnNgMergePegged
,SvnNgMergeReintegrate
,SvnNgOperationRunner
,SvnNgPatch
,SvnNgRelocate
,SvnNgRemove
,SvnNgReposToReposCopy
,SvnNgReposToWcCopy
,SvnNgResolve
,SvnNgRevert
,SvnNgSetChangelist
,SvnNgSetLock
,SvnNgSetProperty
,SvnNgSuggestMergeSources
,SvnNgSwitch
,SvnNgUnlock
,SvnNgUpdate
,SvnNgUpgrade
,SvnNgWcToReposCopy
,SvnNgWcToWcCopy
,SVNNotifyPrinter
,SvnOldAdd
,SvnOldAnnotate
,SvnOldCanonicalizeUrls
,SvnOldCat
,SvnOldCheckout
,SvnOldCleanup
,SvnOldCommit
,SvnOldCopy
,SvnOldDiff
,SvnOldExport
,SvnOldGetChangelistPaths
,SvnOldGetInfo
,SvnOldGetMergeInfo
,SvnOldGetProperties
,SvnOldGetStatus
,SvnOldGetStatusSummary
,SvnOldImport
,SvnOldList
,SvnOldLogMergeInfo
,SvnOldMarkReplaced
,SvnOldMerge
,SvnOldRelocate
,SvnOldRemoteCopy
,SvnOldRemove
,SvnOldResolve
,SvnOldRevert
,SvnOldRunner
,SvnOldSetChangelist
,SvnOldSetLock
,SvnOldSetProperty
,SvnOldSuggestMergeSources
,SvnOldSwitch
,SvnOldUnlock
,SvnOldUpdate
,SvnOldUpgrade
,SvnOperationRunner
,SvnRemoteAnnotate
,SvnRemoteCat
,SvnRemoteDiff
,SvnRemoteExport
,SvnRemoteGetInfo
,SvnRemoteGetProperties
,SvnRemoteGetRevisionProperties
,SvnRemoteList
,SvnRemoteLog
,SvnRemoteOperationRunner
,SvnRemoteRemoteDelete
,SvnRemoteRemoteMkDir
,SvnRemoteSetLock
,SvnRemoteSetPropertyImpl
,SvnRemoteSetRevisionProperty
,SvnRemoteUnlock
,SvnRepositoryCatImpl
,SvnRepositoryCopyRevisionPropertiesImpl
,SvnRepositoryCreateImpl
,SvnRepositoryDumpImpl
,SvnRepositoryFilterImpl
,SvnRepositoryGetAuthorImpl
,SvnRepositoryGetChangedDirectoriesImpl
,SvnRepositoryGetChangedImpl
,SvnRepositoryGetDateImpl
,SvnRepositoryGetDiffImpl
,SvnRepositoryGetFileSizeImpl
,SvnRepositoryGetHistoryImpl
,SvnRepositoryGetInfoImpl
,SvnRepositoryGetLockImpl
,SvnRepositoryGetLogImpl
,SvnRepositoryGetPropertiesImpl
,SvnRepositoryGetPropertyImpl
,SvnRepositoryGetRevisionPropertiesImpl
,SvnRepositoryGetRevisionPropertyImpl
,SvnRepositoryGetTreeImpl
,SvnRepositoryGetUUIDImpl
,SvnRepositoryGetYoungestImpl
,SvnRepositoryHotCopyImpl
,SvnRepositoryInitializeImpl
,SvnRepositoryListLocksImpl
,SvnRepositoryListTransactionsImpl
,SvnRepositoryLoadImpl
,SvnRepositoryOperationRunner
,SvnRepositoryPackImpl
,SvnRepositoryRecoverImpl
,SvnRepositoryRemoveLocksImpl
,SvnRepositoryRemoveTransactionsImpl
,SVNRepositoryReplicator
,SvnRepositorySetUUIDImpl
,SvnRepositorySynchronizeImpl
,SvnRepositorySyncInfoImpl
,SvnRepositoryUpgradeImpl
,SvnRepositoryVerifyImpl
,SVNStatusClient16
,SVNSyncCommandEnvironment
,SVNSyncCopyRevPropsCommand
,SVNSyncInitializeCommand
,SVNSyncSynchronizeCommand
,SVNUpdateClient16
,SVNVersionCommandEnvironment
,SVNWCAccess
,SVNWCClient16
public interface ISVNCanceller
The ISVNCanceller interface is used in
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.- Since:
- 1.2
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ISVNCanceller
Default implementation which never throws anSVNCancelException
(never cancels). -
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks if the current operation is cancelled (somehow interrupted) and should throw an SVNCancelException or notify the handler if exists.
-
Field Details
-
NULL
Default implementation which never throws anSVNCancelException
(never cancels).
-
-
Method Details
-
checkCancelled
Checks if the current operation is cancelled (somehow interrupted) and should throw an SVNCancelException or notify the handler if exists. This method is often called during iterations when processing trees of versioned items. This way the entire operation may be interrupted without waiting till the iteration run out.- Throws:
SVNCancelException
-