org.apache.maven.scm.provider.svn.svnexe.command
Class SvnCommandLineUtils

java.lang.Object
  extended byorg.apache.maven.scm.provider.svn.svnexe.command.SvnCommandLineUtils

public class SvnCommandLineUtils
extends java.lang.Object

Command line construction utility.

Version:
$Id: SvnCommandLineUtils.java 384477 2006-03-09 10:02:24Z evenisse $
Author:
Brett Porter

Constructor Summary
SvnCommandLineUtils()
           
 
Method Summary
static void addFiles(org.codehaus.plexus.util.cli.Commandline cl, java.io.File[] files)
           
static java.lang.String cryptPassword(org.codehaus.plexus.util.cli.Commandline cl)
           
static int execute(org.codehaus.plexus.util.cli.Commandline cl, org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer stdout, org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer stderr, org.apache.maven.scm.log.ScmLogger logger)
           
static int execute(org.codehaus.plexus.util.cli.Commandline cl, org.codehaus.plexus.util.cli.StreamConsumer consumer, org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer stderr, org.apache.maven.scm.log.ScmLogger logger)
           
static int executeCleanUp(java.io.File workinDirectory, org.codehaus.plexus.util.cli.StreamConsumer stdout, org.codehaus.plexus.util.cli.StreamConsumer stderr)
           
static int executeCleanUp(java.io.File workinDirectory, org.codehaus.plexus.util.cli.StreamConsumer stdout, org.codehaus.plexus.util.cli.StreamConsumer stderr, org.apache.maven.scm.log.ScmLogger logger)
           
static org.codehaus.plexus.util.cli.Commandline getBaseSvnCommandLine(java.io.File workingDirectory, org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository repository)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SvnCommandLineUtils

public SvnCommandLineUtils()
Method Detail

addFiles

public static void addFiles(org.codehaus.plexus.util.cli.Commandline cl,
                            java.io.File[] files)

getBaseSvnCommandLine

public static org.codehaus.plexus.util.cli.Commandline getBaseSvnCommandLine(java.io.File workingDirectory,
                                                                             org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository repository)

execute

public static int execute(org.codehaus.plexus.util.cli.Commandline cl,
                          org.codehaus.plexus.util.cli.StreamConsumer consumer,
                          org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer stderr,
                          org.apache.maven.scm.log.ScmLogger logger)
                   throws org.codehaus.plexus.util.cli.CommandLineException
Throws:
org.codehaus.plexus.util.cli.CommandLineException

execute

public static int execute(org.codehaus.plexus.util.cli.Commandline cl,
                          org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer stdout,
                          org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer stderr,
                          org.apache.maven.scm.log.ScmLogger logger)
                   throws org.codehaus.plexus.util.cli.CommandLineException
Throws:
org.codehaus.plexus.util.cli.CommandLineException

executeCleanUp

public static int executeCleanUp(java.io.File workinDirectory,
                                 org.codehaus.plexus.util.cli.StreamConsumer stdout,
                                 org.codehaus.plexus.util.cli.StreamConsumer stderr)
                          throws org.codehaus.plexus.util.cli.CommandLineException
Throws:
org.codehaus.plexus.util.cli.CommandLineException

executeCleanUp

public static int executeCleanUp(java.io.File workinDirectory,
                                 org.codehaus.plexus.util.cli.StreamConsumer stdout,
                                 org.codehaus.plexus.util.cli.StreamConsumer stderr,
                                 org.apache.maven.scm.log.ScmLogger logger)
                          throws org.codehaus.plexus.util.cli.CommandLineException
Throws:
org.codehaus.plexus.util.cli.CommandLineException

cryptPassword

public static java.lang.String cryptPassword(org.codehaus.plexus.util.cli.Commandline cl)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.