01: /*
02: * ====================================================================
03: * Copyright (c) 2004-2008 TMate Software Ltd. All rights reserved.
04: *
05: * This software is licensed as described in the file COPYING, which
06: * you should have received as part of this distribution. The terms
07: * are also available at http://svnkit.com/license.html.
08: * If newer versions of this license are posted there, you may use a
09: * newer version instead, at your option.
10: * ====================================================================
11: */
12: package org.tmatesoft.svn.core;
13:
14: /**
15: * @version 1.1.2
16: * @author TMate Software Ltd.
17: */
18: public interface ISVNCanceller {
19:
20: public ISVNCanceller NULL = new ISVNCanceller() {
21: public void checkCancelled() throws SVNCancelException {
22: }
23: };
24:
25: /**
26: * Checks if the current operation is cancelled (somehow interrupted)
27: * and should throw an <b>SVNCancelException</b>.
28: *
29: * @throws SVNCancelException
30: */
31: public void checkCancelled() throws SVNCancelException;
32:
33: }
|