com.aragost.javahg.commands.flags
Class CloneCommandFlags

java.lang.Object
  extended by com.aragost.javahg.internals.AbstractCommand
      extended by com.aragost.javahg.commands.flags.CloneCommandFlags
Direct Known Subclasses:
CloneCommand

public abstract class CloneCommandFlags
extends AbstractCommand


Nested Class Summary
 
Nested classes/interfaces inherited from class com.aragost.javahg.internals.AbstractCommand
AbstractCommand.State
 
Constructor Summary
protected CloneCommandFlags(Repository repository)
           
 
Method Summary
 CloneCommand branch(String... branches)
          Set the --branch command line flag.
 String getCommandName()
           
 CloneCommand insecure()
          Set the --insecure command line flag.
 CloneCommand noupdate()
          Set the --noupdate command line flag.
static CloneCommand on(Repository repository)
           
 CloneCommand pull()
          Set the --pull command line flag.
 CloneCommand remotecmd(String cmd)
          Set the --remotecmd command line flag.
 CloneCommand rev(String... revs)
          Set the --rev command line flag.
 CloneCommand ssh(String cmd)
          Set the --ssh command line flag.
 CloneCommand uncompressed()
          Set the --uncompressed command line flag.
 CloneCommand updaterev(String rev)
          Set the --updaterev command line flag.
 
Methods inherited from class com.aragost.javahg.internals.AbstractCommand
cancel, clear, cmdAppend, cmdAppend, cmdAppend, cmdAppend, cmdAppend, doneHook, getErrorString, getRepository, getReturnCode, isSuccessful, launchIterator, launchStream, launchString, needsInputLine, reopenOutputChannelStream, sendLine, toString, withDebugAndChangesetStyle, withDebugFlag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CloneCommandFlags

protected CloneCommandFlags(Repository repository)
Method Detail

getCommandName

public final String getCommandName()
Specified by:
getCommandName in class AbstractCommand
Returns:
the name of this Mercurial command, i.e., "add", "log", etc

on

public static CloneCommand on(Repository repository)

noupdate

public CloneCommand noupdate()
Set the --noupdate command line flag.

Returns:
this instance
See Also:
Mercurial documentation

updaterev

public CloneCommand updaterev(String rev)
Set the --updaterev command line flag.

Returns:
this instance
See Also:
Mercurial documentation

rev

public CloneCommand rev(String... revs)
Set the --rev command line flag.

Returns:
this instance
See Also:
Mercurial documentation

branch

public CloneCommand branch(String... branches)
Set the --branch command line flag.

Returns:
this instance
See Also:
Mercurial documentation

pull

public CloneCommand pull()
Set the --pull command line flag.

Returns:
this instance
See Also:
Mercurial documentation

uncompressed

public CloneCommand uncompressed()
Set the --uncompressed command line flag.

Returns:
this instance
See Also:
Mercurial documentation

ssh

public CloneCommand ssh(String cmd)
Set the --ssh command line flag.

Returns:
this instance
See Also:
Mercurial documentation

remotecmd

public CloneCommand remotecmd(String cmd)
Set the --remotecmd command line flag.

Returns:
this instance
See Also:
Mercurial documentation

insecure

public CloneCommand insecure()
Set the --insecure command line flag.

Returns:
this instance
See Also:
Mercurial documentation


Copyright © 2011-2013 aragost Trifork ag. All Rights Reserved.