public final class GitCommandLineUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addTarget(Commandline cl,
List<File> 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(File workingDirectory,
String command) |
public static void addTarget(Commandline cl, List<File> files)
public static Commandline getBaseGitCommandLine(File workingDirectory, String command)
workingDirectory
- command
- public static int execute(Commandline cl, StreamConsumer consumer, CommandLineUtils.StringStreamConsumer stderr, ScmLogger logger) throws ScmException
ScmException
public static int execute(Commandline cl, CommandLineUtils.StringStreamConsumer stdout, CommandLineUtils.StringStreamConsumer stderr, ScmLogger logger) throws ScmException
ScmException
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.