com.atlassian.bamboo.plugins.git
Class GitCommandBuilder
java.lang.Object
com.atlassian.bamboo.plugins.git.GitCommandBuilder
public class GitCommandBuilder
- extends Object
GitCommandBuilder
protected GitCommandBuilder(String... commands)
executable
public GitCommandBuilder executable(String executable)
branch
public GitCommandBuilder branch(String branch)
revision
public GitCommandBuilder revision(String revision)
destination
public GitCommandBuilder destination(String destination)
source
public GitCommandBuilder source(String source)
verbose
public GitCommandBuilder verbose(Boolean verbose)
sshCommand
public GitCommandBuilder sshCommand(String sshCommand)
sshKeyFile
public GitCommandBuilder sshKeyFile(String sshKeyFile)
sshCompression
public GitCommandBuilder sshCompression(boolean sshCompression)
maxVerboseOutput
public GitCommandBuilder maxVerboseOutput(boolean maxVerboseOutput)
shallowClone
public GitCommandBuilder shallowClone()
append
public GitCommandBuilder append(String argument)
env
public GitCommandBuilder env(@Nullable
Map<String,String> env)
build
public List<String> build()
getEnv
@NotNull
public Map<String,String> getEnv()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.