org.w3c.jigsaw.cvs
Class CvsDirectoryHandler

java.lang.Object
  |
  +--org.w3c.jigsaw.cvs.CvsDirectoryHandler

public class CvsDirectoryHandler
extends java.lang.Object
implements CvsHandlerInterface


Method Summary
protected  org.w3c.jigsaw.http.Reply badAction(org.w3c.jigsaw.http.Request request, java.lang.String action)
           
 void perform(org.w3c.jigsaw.http.Request request, java.lang.String action, java.lang.String regexp)
          Perform the action on the entity matching the given regexp
 void perform(org.w3c.jigsaw.http.Request request, java.lang.String action, java.lang.String[] names, java.lang.String[] revs)
          Perform the action on the given entity.
 void perform(org.w3c.jigsaw.http.Request request, java.lang.String action, java.lang.String[] names, java.lang.String[] revs, java.lang.String comment)
          Perform the action on the given entity.
 void perform(org.w3c.jigsaw.http.Request request, java.lang.String action, java.lang.String regexp, java.lang.String comment)
          Perform the action on the entity matching the given regexp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

badAction

protected org.w3c.jigsaw.http.Reply badAction(org.w3c.jigsaw.http.Request request,
                                              java.lang.String action)

perform

public void perform(org.w3c.jigsaw.http.Request request,
                    java.lang.String action,
                    java.lang.String regexp,
                    java.lang.String comment)
             throws org.w3c.tools.resources.ProtocolException
Perform the action on the entity matching the given regexp
Specified by:
perform in interface CvsHandlerInterface
Parameters:
request - The request that triggered this method call.
action - The action to perform.
regexp - The regular expression to match
comment - A string of comments describing the change.
Throws:
org.w3c.tools.resources.ProtocolException - If running the action failed.

perform

public void perform(org.w3c.jigsaw.http.Request request,
                    java.lang.String action,
                    java.lang.String regexp)
             throws org.w3c.tools.resources.ProtocolException
Perform the action on the entity matching the given regexp
Specified by:
perform in interface CvsHandlerInterface
Parameters:
request - The request that triggered this method call.
action - The action to perform.
regexp - The regular expression to match
Throws:
org.w3c.tools.resources.ProtocolException - If running the action failed.

perform

public void perform(org.w3c.jigsaw.http.Request request,
                    java.lang.String action,
                    java.lang.String[] names,
                    java.lang.String[] revs)
             throws org.w3c.tools.resources.ProtocolException
Perform the action on the given entity.
Specified by:
perform in interface CvsHandlerInterface
Parameters:
request - The request that triggered this method call.
action - The action to perform.
names - Name of files to apply the action to.
Throws:
org.w3c.tools.resources.ProtocolException - If running the action failed.

perform

public void perform(org.w3c.jigsaw.http.Request request,
                    java.lang.String action,
                    java.lang.String[] names,
                    java.lang.String[] revs,
                    java.lang.String comment)
             throws org.w3c.tools.resources.ProtocolException
Perform the action on the given entity.
Specified by:
perform in interface CvsHandlerInterface
Parameters:
action - The action to perform.
names - The names on which the action should be performed.
comment - A string of comments describing the change.
Throws:
org.w3c.tools.resources.ProtocolException - If running the action failed.