org.apache.maven.scm.provider.git.gitexe.command
Class GitCommandLineUtils
java.lang.Object
org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils
public final class GitCommandLineUtils
- extends Object
Command line construction utility.
- Version:
- $Id: GitCommandLineUtils.java 1303172 2012-03-20 22:05:02Z rfscholte $
- Author:
- Brett Porter, Mark Struberg
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)
getBaseGitCommandLine
public static Commandline getBaseGitCommandLine(File workingDirectory,
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
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.