com.aragost.javahg.commands.flags
Class TagCommandFlags

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

public abstract class TagCommandFlags
extends AbstractCommand


Nested Class Summary
 
Nested classes/interfaces inherited from class com.aragost.javahg.internals.AbstractCommand
AbstractCommand.State
 
Constructor Summary
protected TagCommandFlags(Repository repository)
           
 
Method Summary
 TagCommand date(DateTime date)
          Set the --date command line flag.
 TagCommand force()
          Set the --force command line flag.
 String getCommandName()
           
 TagCommand local()
          Set the --local command line flag.
 TagCommand message(String text)
          Set the --message command line flag.
static TagCommand on(Repository repository)
           
 TagCommand remove()
          Set the --remove command line flag.
 TagCommand rev(String rev)
          Set the --rev command line flag.
 TagCommand 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

TagCommandFlags

protected TagCommandFlags(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 TagCommand on(Repository repository)

force

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

Returns:
this instance
See Also:
Mercurial documentation

local

public TagCommand local()
Set the --local command line flag.

Returns:
this instance
See Also:
Mercurial documentation

rev

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

Returns:
this instance
See Also:
Mercurial documentation

remove

public TagCommand remove()
Set the --remove command line flag.

Returns:
this instance
See Also:
Mercurial documentation

message

public TagCommand message(String text)
Set the --message command line flag.

Returns:
this instance
See Also:
Mercurial documentation

date

public TagCommand date(DateTime date)
Set the --date command line flag.

Returns:
this instance
See Also:
Mercurial documentation

user

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

Returns:
this instance
See Also:
Mercurial documentation


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