com.aragost.javahg.commands.flags
Class BackoutCommandFlags

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

public abstract class BackoutCommandFlags
extends AbstractCommand


Nested Class Summary
 
Nested classes/interfaces inherited from class com.aragost.javahg.internals.AbstractCommand
AbstractCommand.State
 
Constructor Summary
protected BackoutCommandFlags(Repository repository)
           
 
Method Summary
 BackoutCommand date(String date)
          Set the --date command line flag.
 BackoutCommand exclude(String... patterns)
          Set the --exclude command line flag.
 String getCommandName()
           
 BackoutCommand include(String... patterns)
          Set the --include command line flag.
 BackoutCommand merge()
          Set the --merge command line flag.
 BackoutCommand message(String text)
          Set the --message command line flag.
static BackoutCommand on(Repository repository)
           
 BackoutCommand parent(String rev)
          Deprecated. Using this flag has been deprecated in Mercurial. The flag wont go away, but there will typically be a better way to express the same thing.
 BackoutCommand rev(String rev)
          Set the --rev command line flag.
 BackoutCommand tool(String value)
          Set the --tool command line flag.
 BackoutCommand 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

BackoutCommandFlags

protected BackoutCommandFlags(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 BackoutCommand on(Repository repository)

merge

public BackoutCommand merge()
Set the --merge command line flag.

Returns:
this instance
See Also:
Mercurial documentation

parent

@Deprecated
public BackoutCommand parent(String rev)
Deprecated. Using this flag has been deprecated in Mercurial. The flag wont go away, but there will typically be a better way to express the same thing.

Set the --parent command line flag.

Returns:
this instance
See Also:
Mercurial documentation

rev

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

Returns:
this instance
See Also:
Mercurial documentation

tool

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

Returns:
this instance
See Also:
Mercurial documentation

include

public BackoutCommand include(String... patterns)
Set the --include command line flag.

Returns:
this instance
See Also:
Mercurial documentation

exclude

public BackoutCommand exclude(String... patterns)
Set the --exclude command line flag.

Returns:
this instance
See Also:
Mercurial documentation

message

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

Returns:
this instance
See Also:
Mercurial documentation

date

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

Returns:
this instance
See Also:
Mercurial documentation

user

public BackoutCommand 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.