org.apache.maven.scm.provider.cvslib.cvsjava.util
public class CvsConnection extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
executeCommand(org.netbeans.lib.cvsclient.command.Command command)
Execute a configured CVS command
|
static boolean |
processCommand(java.lang.String[] args,
java.lang.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(java.lang.String localPath) |
void |
setRepository(java.lang.String repository) |
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 executeorg.netbeans.lib.cvsclient.command.CommandException
- if there is an error running the commandorg.netbeans.lib.cvsclient.connection.AuthenticationException
public void setRepository(java.lang.String repository)
public void setLocalPath(java.lang.String localPath)
public void setGlobalOptions(org.netbeans.lib.cvsclient.command.GlobalOptions globalOptions)
public static boolean processCommand(java.lang.String[] args, java.lang.String localPath, org.netbeans.lib.cvsclient.event.CVSListener listener, ScmLogger logger) throws java.lang.Exception
args
- The command with optionsjava.lang.Exception
Copyright © 2003-2014. All Rights Reserved.