|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.scm.provider.cvslib.cvsjava.util.CvsConnection
public class CvsConnection
A Cvs connection that simulates a command line interface.
Method Summary | |
---|---|
boolean |
executeCommand(org.netbeans.lib.cvsclient.command.Command command)
Execute a configured CVS command |
static boolean |
processCommand(String[] args,
String localPath,
org.netbeans.lib.cvsclient.event.CVSListener listener,
ScmLogger logger)
Process the CVS command passed in args[] array with all necessary options. |
void |
setGlobalOptions(org.netbeans.lib.cvsclient.command.GlobalOptions globalOptions)
|
void |
setLocalPath(String localPath)
|
void |
setRepository(String repository)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean executeCommand(org.netbeans.lib.cvsclient.command.Command command) throws org.netbeans.lib.cvsclient.command.CommandException, org.netbeans.lib.cvsclient.connection.AuthenticationException
command
- the command to execute
org.netbeans.lib.cvsclient.command.CommandException
- if there is an error running the command
org.netbeans.lib.cvsclient.connection.AuthenticationException
public void setRepository(String repository)
public void setLocalPath(String localPath)
public void setGlobalOptions(org.netbeans.lib.cvsclient.command.GlobalOptions globalOptions)
public static boolean processCommand(String[] args, String localPath, org.netbeans.lib.cvsclient.event.CVSListener listener, ScmLogger logger) throws Exception
args
- The command with options
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |