com.atlassian.bamboo.plugins.hg
Class HgCommandBuilder

java.lang.Object
  extended by com.atlassian.bamboo.plugins.hg.HgCommandBuilder

public class HgCommandBuilder
extends java.lang.Object


Constructor Summary
protected HgCommandBuilder(java.lang.String... commands)
           
 
Method Summary
 HgCommandBuilder append(java.lang.String argument)
           
 HgCommandBuilder branch(java.lang.String branch)
           
 java.util.List<java.lang.String> build()
           
 HgCommandBuilder debug(java.lang.Boolean debug)
           
 HgCommandBuilder destination(java.lang.String destination)
           
 HgCommandBuilder executable(java.lang.String executable)
           
 HgCommandBuilder limit(java.lang.Integer limit)
           
 HgCommandBuilder maxVerboseOutput(boolean maxVerboseOutput)
           
 HgCommandBuilder prune(java.lang.String revision)
           
 HgCommandBuilder revision(java.lang.String revision)
           
 HgCommandBuilder source(java.lang.String source)
           
 HgCommandBuilder sshCommand(java.lang.String sshCommand)
           
 HgCommandBuilder sshKeyFile(java.lang.String sshKeyFile)
           
 HgCommandBuilder style(java.lang.String style)
           
 java.lang.String toString()
           
 HgCommandBuilder verbose(java.lang.Boolean debug)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HgCommandBuilder

protected HgCommandBuilder(java.lang.String... commands)
Method Detail

executable

public HgCommandBuilder executable(java.lang.String executable)

style

public HgCommandBuilder style(java.lang.String style)

branch

public HgCommandBuilder branch(java.lang.String branch)

revision

public HgCommandBuilder revision(java.lang.String revision)

prune

public HgCommandBuilder prune(java.lang.String revision)

destination

public HgCommandBuilder destination(java.lang.String destination)

limit

public HgCommandBuilder limit(java.lang.Integer limit)

source

public HgCommandBuilder source(java.lang.String source)

debug

public HgCommandBuilder debug(java.lang.Boolean debug)

verbose

public HgCommandBuilder verbose(java.lang.Boolean debug)

sshCommand

public HgCommandBuilder sshCommand(java.lang.String sshCommand)

sshKeyFile

public HgCommandBuilder sshKeyFile(java.lang.String sshKeyFile)

maxVerboseOutput

public HgCommandBuilder maxVerboseOutput(boolean maxVerboseOutput)

append

public HgCommandBuilder append(java.lang.String argument)

build

public java.util.List<java.lang.String> build()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010 Atlassian. All Rights Reserved.