public class GitCommandBuilder extends Object
Modifier | Constructor and Description |
---|---|
protected |
GitCommandBuilder(String... commands) |
protected |
GitCommandBuilder(Version gitVersion,
String... commands) |
Modifier and Type | Method and Description |
---|---|
GitCommandBuilder |
append(String argument) |
GitCommandBuilder |
branch(String branch) |
List<String> |
build() |
GitCommandBuilder |
credentialsFile(File credentialsFile) |
GitCommandBuilder |
destination(String destination) |
GitCommandBuilder |
env(Map<String,String> env) |
GitCommandBuilder |
executable(String executable) |
Map<String,String> |
getEnv() |
boolean |
isProxied() |
boolean |
isThrowOnNonZeroExit() |
GitCommandBuilder |
maxVerboseOutput(boolean maxVerboseOutput) |
GitCommandBuilder |
proxied(boolean proxied) |
GitCommandBuilder |
revision(String revision) |
GitCommandBuilder |
shallowClone() |
GitCommandBuilder |
source(String source) |
GitCommandBuilder |
sshCommand(String sshCommand) |
GitCommandBuilder |
sshCompression(boolean sshCompression) |
GitCommandBuilder |
sshKeyFile(String sshKeyFile) |
GitCommandBuilder |
throwOnNonZeroExit(boolean throwOnNonZeroExit) |
String |
toString() |
GitCommandBuilder |
verbose(Boolean verbose) |
protected GitCommandBuilder(String... commands)
public GitCommandBuilder executable(String executable)
public GitCommandBuilder branch(String branch)
public GitCommandBuilder revision(String revision)
public GitCommandBuilder destination(String destination)
public GitCommandBuilder source(String source)
public GitCommandBuilder verbose(Boolean verbose)
public GitCommandBuilder sshCommand(String sshCommand)
public GitCommandBuilder sshKeyFile(String sshKeyFile)
public GitCommandBuilder sshCompression(boolean sshCompression)
public GitCommandBuilder maxVerboseOutput(boolean maxVerboseOutput)
public GitCommandBuilder shallowClone()
public GitCommandBuilder append(String argument)
public GitCommandBuilder env(@Nullable Map<String,String> env)
public GitCommandBuilder proxied(boolean proxied)
public GitCommandBuilder throwOnNonZeroExit(boolean throwOnNonZeroExit)
public GitCommandBuilder credentialsFile(File credentialsFile)
public boolean isProxied()
public boolean isThrowOnNonZeroExit()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.