01: // CvsHandlerInterface.java
02: // $Id: CvsHandlerInterface.java,v 1.2 2000/08/16 21:37:32 ylafon Exp $
03: // (c) COPYRIGHT MIT and INRIA, 1996.
04: // Please first read the full copyright statement in file COPYRIGHT.html
05:
06: package org.w3c.jigedit.cvs;
07:
08: import org.w3c.jigsaw.http.Request;
09:
10: import org.w3c.tools.resources.ProtocolException;
11:
12: public interface CvsHandlerInterface {
13:
14: /**
15: * Perform action on the given cvs entry, on behalf of the given client.
16: * @param request The request to handle.
17: * @param action The action to perform.
18: * @param regexp The regular expression
19: * @param comment Some comments describing your changes.
20: * @exception ProtocolException If the action couldn't be performed.
21: */
22: public void perform(Request request, String action, String regexp,
23: String comment) throws ProtocolException;
24:
25: /**
26: * Perform action on the given cvs entry, on behalf of the given client.
27: * @param request The request to handle.
28: * @param action The action to perform.
29: * @param regexp The regular expression
30: * @exception ProtocolException If the action couldn't be performed.
31: */
32: public void perform(Request request, String action, String regexp)
33: throws ProtocolException;
34:
35: /**
36: * Perform action on the given cvs entry, on behalf of the given client.
37: * @param request The request to handle.
38: * @param action The action to perform.
39: * @param entry The entry to act on.
40: * @param direntries the directories to act on
41: * @exception ProtocolException If the action couldn't be performed.
42: */
43:
44: public void perform(Request request, String action, String names[],
45: String revs[]) throws ProtocolException;
46:
47: /**
48: * Perform action on the given cvs entry, on behalf of the given client.
49: * @param request The request that triggered the processing.
50: * @param action The action to perform.
51: * @param entry The entry to act on.
52: * @param direntries the directories to act on
53: * @param comment Some comments describing your changes.
54: * @exception ProtocolException If the action couldn't be performed.
55: */
56:
57: public void perform(Request request, String action, String names[],
58: String revs[], String comment) throws ProtocolException;
59:
60: }
|