com.aragost.javahg.commands.flags
Class IncomingCommandFlags

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

public abstract class IncomingCommandFlags
extends AbstractCommand


Nested Class Summary
 
Nested classes/interfaces inherited from class com.aragost.javahg.internals.AbstractCommand
AbstractCommand.State
 
Constructor Summary
protected IncomingCommandFlags(Repository repository)
           
 
Method Summary
 IncomingCommand bookmarks()
          Set the --bookmarks command line flag.
 IncomingCommand branch(String... branches)
          Set the --branch command line flag.
 IncomingCommand bundle(String file)
          Set the --bundle command line flag.
 IncomingCommand force()
          Set the --force command line flag.
 String getCommandName()
           
 IncomingCommand insecure()
          Set the --insecure command line flag.
 IncomingCommand limit(String num)
          Set the --limit command line flag.
 IncomingCommand newestFirst()
          Set the --newest-first command line flag.
 IncomingCommand noMerges()
          Set the --no-merges command line flag.
static IncomingCommand on(Repository repository)
           
 IncomingCommand remotecmd(String cmd)
          Set the --remotecmd command line flag.
 IncomingCommand rev(String... revs)
          Set the --rev command line flag.
 IncomingCommand ssh(String cmd)
          Set the --ssh 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

IncomingCommandFlags

protected IncomingCommandFlags(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 IncomingCommand on(Repository repository)

force

public IncomingCommand force()
Set the --force command line flag.

Returns:
this instance
See Also:
Mercurial documentation

newestFirst

public IncomingCommand newestFirst()
Set the --newest-first command line flag.

Returns:
this instance
See Also:
Mercurial documentation

bundle

public IncomingCommand bundle(String file)
Set the --bundle command line flag.

Returns:
this instance
See Also:
Mercurial documentation

rev

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

Returns:
this instance
See Also:
Mercurial documentation

bookmarks

public IncomingCommand bookmarks()
Set the --bookmarks command line flag.

Returns:
this instance
See Also:
Mercurial documentation

branch

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

Returns:
this instance
See Also:
Mercurial documentation

limit

public IncomingCommand limit(String num)
Set the --limit command line flag.

Returns:
this instance
See Also:
Mercurial documentation

noMerges

public IncomingCommand noMerges()
Set the --no-merges command line flag.

Returns:
this instance
See Also:
Mercurial documentation

ssh

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

Returns:
this instance
See Also:
Mercurial documentation

remotecmd

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

Returns:
this instance
See Also:
Mercurial documentation

insecure

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

Returns:
this instance
See Also:
Mercurial documentation


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