public class CvsConnection extends Object
Modifier and Type | Method and Description |
---|---|
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) |
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(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 optionsException
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.