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.wc;
13:
14: import org.tmatesoft.svn.core.SVNException;
15:
16: /**
17: * The <b>ISVNInfoHandler</b> interface should be implemented in order to
18: * be further provided to some of <b>SVNWCClient</b>'s doInfo() methods
19: * to process information about Working Copy as well as remote (located in a
20: * repository) items.
21: *
22: * <p>
23: * When running a info operation using an info handler an
24: * <b>SVNWCClient</b>'s doInfo() method generates an <b>SVNInfo</b>
25: * object per each interesting item and dispatches that object to the
26: * info handler where it's up to a developer to retrieve detailes
27: * from the <b>SVNInfo</b> object and interprete them in a desired way.
28: * <p>
29: * All calls to a <b>handleInfo()</b> method are synchronous - that is the
30: * caller is blocked till the method finishes.
31: *
32: * @version 1.1.1
33: * @author TMate Software Ltd.
34: * @see SVNWCClient
35: * @see SVNInfo
36: * @see <a target="_top" href="http://svnkit.com/kb/examples/">Examples</a>
37: *
38: */
39: public interface ISVNInfoHandler {
40: /**
41: * Handles item's information using an <b>SVNInfo</b> object.
42: *
43: * @param info an object that contain's item's information details
44: * @throws SVNException
45: */
46: public void handleInfo(SVNInfo info) throws SVNException;
47:
48: }
|