com.atlassian.bamboo.plugins.git
Class GitCommandBuilder

java.lang.Object
  extended by com.atlassian.bamboo.plugins.git.GitCommandBuilder

public class GitCommandBuilder
extends Object


Constructor Summary
protected GitCommandBuilder(String... commands)
           
 
Method Summary
 GitCommandBuilder append(String argument)
           
 GitCommandBuilder branch(String branch)
           
 List<String> build()
           
 GitCommandBuilder destination(String destination)
           
 GitCommandBuilder env(Map<String,String> env)
           
 GitCommandBuilder executable(String executable)
           
 Map<String,String> getEnv()
           
 GitCommandBuilder maxVerboseOutput(boolean maxVerboseOutput)
           
 GitCommandBuilder revision(String revision)
           
 GitCommandBuilder shallowClone()
           
 GitCommandBuilder source(String source)
           
 GitCommandBuilder sshCommand(String sshCommand)
           
 GitCommandBuilder sshCompression(boolean sshCompression)
           
 GitCommandBuilder sshKeyFile(String sshKeyFile)
           
 String toString()
           
 GitCommandBuilder verbose(Boolean verbose)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GitCommandBuilder

protected GitCommandBuilder(String... commands)
Method Detail

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.