org.apache.maven.scm.provider.git.gitexe.command
Class GitCommandLineUtils
java.lang.Object
org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils
public class GitCommandLineUtils
- extends java.lang.Object
Command line construction utility.
- Version:
- $Id: GitCommandLineUtils.java 691832 2008-09-03 23:54:44Z vsiveton $
- Author:
- Brett Porter, Mark Struberg
Method Summary |
static void |
addTarget(Commandline cl,
java.util.List files)
|
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 Commandline |
getBaseGitCommandLine(java.io.File workingDirectory,
java.lang.String command)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GitCommandLineUtils
public GitCommandLineUtils()
addTarget
public static void addTarget(Commandline cl,
java.util.List files)
getBaseGitCommandLine
public static Commandline getBaseGitCommandLine(java.io.File workingDirectory,
java.lang.String command)
execute
public static int execute(Commandline cl,
StreamConsumer consumer,
CommandLineUtils.StringStreamConsumer stderr,
ScmLogger logger)
throws ScmException
- Throws:
ScmException
execute
public static int execute(Commandline cl,
CommandLineUtils.StringStreamConsumer stdout,
CommandLineUtils.StringStreamConsumer stderr,
ScmLogger logger)
throws ScmException
- Throws:
ScmException