org.apache.maven.scm.provider.svn.svnexe.command
Class SvnCommandLineUtils
java.lang.Object
org.apache.maven.scm.provider.svn.svnexe.command.SvnCommandLineUtils
public final class SvnCommandLineUtils
- extends Object
Command line construction utility.
- Version:
- $Id: SvnCommandLineUtils.java 1325497 2012-04-12 20:38:55Z rfscholte $
- Author:
- Brett Porter, Olivier Lamy
Method Summary |
static void |
addTarget(Commandline cl,
List<File> files)
|
static String |
cryptPassword(Commandline cl)
|
static int |
execute(Commandline cl,
CommandLineUtils.StringStreamConsumer stdout,
CommandLineUtils.StringStreamConsumer stderr,
ScmLogger logger)
|
static int |
execute(Commandline cl,
StreamConsumer consumer,
CommandLineUtils.StringStreamConsumer stderr,
ScmLogger logger)
|
static int |
executeCleanUp(File workinDirectory,
StreamConsumer stdout,
StreamConsumer stderr)
|
static int |
executeCleanUp(File workinDirectory,
StreamConsumer stdout,
StreamConsumer stderr,
ScmLogger logger)
|
static Commandline |
getBaseSvnCommandLine(File workingDirectory,
SvnScmProviderRepository repository)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
addTarget
public static void addTarget(Commandline cl,
List<File> files)
throws IOException
- Throws:
IOException
getBaseSvnCommandLine
public static Commandline getBaseSvnCommandLine(File workingDirectory,
SvnScmProviderRepository repository)
execute
public static int execute(Commandline cl,
StreamConsumer consumer,
CommandLineUtils.StringStreamConsumer stderr,
ScmLogger logger)
throws CommandLineException
- Throws:
CommandLineException
execute
public static int execute(Commandline cl,
CommandLineUtils.StringStreamConsumer stdout,
CommandLineUtils.StringStreamConsumer stderr,
ScmLogger logger)
throws CommandLineException
- Throws:
CommandLineException
executeCleanUp
public static int executeCleanUp(File workinDirectory,
StreamConsumer stdout,
StreamConsumer stderr)
throws CommandLineException
- Throws:
CommandLineException
executeCleanUp
public static int executeCleanUp(File workinDirectory,
StreamConsumer stdout,
StreamConsumer stderr,
ScmLogger logger)
throws CommandLineException
- Throws:
CommandLineException
cryptPassword
public static String cryptPassword(Commandline cl)
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.