com.aragost.javahg.commands.flags
Class GraftCommandFlags

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

public abstract class GraftCommandFlags
extends AbstractCommand


Nested Class Summary
 
Nested classes/interfaces inherited from class com.aragost.javahg.internals.AbstractCommand
AbstractCommand.State
 
Constructor Summary
protected GraftCommandFlags(Repository repository)
           
 
Method Summary
 GraftCommand currentdate()
          Set the --currentdate command line flag.
 GraftCommand currentuser()
          Set the --currentuser command line flag.
 GraftCommand date(String date)
          Set the --date command line flag.
 String getCommandName()
           
static GraftCommand on(Repository repository)
           
 GraftCommand tool(String value)
          Set the --tool command line flag.
 GraftCommand user(String user)
          Set the --user 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

GraftCommandFlags

protected GraftCommandFlags(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 GraftCommand on(Repository repository)

currentdate

public GraftCommand currentdate()
Set the --currentdate command line flag.

Returns:
this instance
See Also:
Mercurial documentation

currentuser

public GraftCommand currentuser()
Set the --currentuser command line flag.

Returns:
this instance
See Also:
Mercurial documentation

date

public GraftCommand date(String date)
Set the --date command line flag.

Returns:
this instance
See Also:
Mercurial documentation

user

public GraftCommand user(String user)
Set the --user command line flag.

Returns:
this instance
See Also:
Mercurial documentation

tool

public GraftCommand tool(String value)
Set the --tool command line flag.

Returns:
this instance
See Also:
Mercurial documentation


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